ui-process-h5 1.5.21 → 1.5.22

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.5.21",
3
+ "version": "1.5.22",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ui-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -13434,15 +13434,15 @@ const C0 = /* @__PURE__ */ function() {
13434
13434
  });
13435
13435
  },
13436
13436
  handleGetUserTaskModel() {
13437
- this.taskNode && this.taskNode.length && this.request.get("/aws/repository/getUserTaskModel", {
13437
+ this.taskNode && this.taskNode.length ? this.request.get("/aws/repository/getUserTaskModel", {
13438
13438
  params: {
13439
13439
  taskId: this.taskNode[0].taskId
13440
13440
  }
13441
13441
  }).then((e) => {
13442
13442
  e.code == 200 && (this.taskObj = e.data), this.handleGetHeight(), this.$refs.topTips.handleClose();
13443
13443
  }).catch((e) => {
13444
- this.handleGetHeight();
13445
- });
13444
+ this.handleGetHeight(), this.$refs.topTips.handleClose();
13445
+ }) : this.$refs.topTips.handleClose();
13446
13446
  },
13447
13447
  async showOperation(e, s, i, a) {
13448
13448
  if (this.beforeFunction && !this.beforeFunction())