ui-process-h5 1.3.23 → 1.3.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-process-h5",
3
- "version": "1.3.23",
3
+ "version": "1.3.25",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ui-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -4119,8 +4119,10 @@ const NC = {
4119
4119
  },
4120
4120
  mounted() {
4121
4121
  this.$nextTick(() => {
4122
- const e = document.getElementsByClassName("process-warp")[0] ? document.getElementsByClassName("process-warp")[0] : document.querySelector("body");
4123
- e.append ? e.append(this.$el) : e.appendChild(this.$el);
4122
+ if (document.getElementsByClassName("process-warp")[0]) {
4123
+ const e = document.getElementsByClassName("process-warp")[0];
4124
+ e.append ? e.append(this.$el) : e.appendChild(this.$el);
4125
+ }
4124
4126
  });
4125
4127
  }
4126
4128
  };
@@ -13216,7 +13218,7 @@ const y0 = /* @__PURE__ */ function() {
13216
13218
  taskId: this.taskNode[0].taskId
13217
13219
  }
13218
13220
  }).then((e) => {
13219
- e.code == 200 && (this.taskObj = e.data, this.handleTips("\u52A0\u8F7D\u5B8C\u6210", !0, "success"));
13221
+ e.code == 200 && (this.taskObj = e.data, this.$refs.topTips.handleClose());
13220
13222
  });
13221
13223
  },
13222
13224
  async showOperation(e, s, i, a) {