ui-process-h5 1.5.21 → 1.5.23

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.
@@ -3926,7 +3926,7 @@ const qu = /* @__PURE__ */ function() {
3926
3926
  },
3927
3927
  mounted() {
3928
3928
  this.$nextTick(() => {
3929
- const e = document.querySelector("body");
3929
+ const e = document.getElementsByClassName("process-warp")[0] ? document.getElementsByClassName("process-warp")[0] : document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];
3930
3930
  e.append ? e.append(this.$el) : e.appendChild(this.$el);
3931
3931
  });
3932
3932
  }
@@ -12470,15 +12470,15 @@ const AC = /* @__PURE__ */ function() {
12470
12470
  });
12471
12471
  },
12472
12472
  handleGetUserTaskModel() {
12473
- this.taskNode && this.taskNode.length && this.request.get("/aws/repository/getUserTaskModel", {
12473
+ this.taskNode && this.taskNode.length ? this.request.get("/aws/repository/getUserTaskModel", {
12474
12474
  params: {
12475
12475
  taskId: this.taskNode[0].taskId
12476
12476
  }
12477
12477
  }).then((e) => {
12478
12478
  e.code == 200 && (this.taskObj = e.data), this.handleGetHeight(), this.$refs.topTips.handleClose();
12479
12479
  }).catch((e) => {
12480
- this.handleGetHeight();
12481
- });
12480
+ this.handleGetHeight(), this.$refs.topTips.handleClose();
12481
+ }) : this.$refs.topTips.handleClose();
12482
12482
  },
12483
12483
  async showOperation(e, s, i, r) {
12484
12484
  if (this.beforeFunction && !this.beforeFunction())