ui-process-h5 3.3.20 → 3.3.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.
@@ -2930,7 +2930,9 @@ const Vs = /* @__PURE__ */ M(xo, [["render", qo], ["__scopeId", "data-v-15c177a8
2930
2930
  ...this.extraParams
2931
2931
  }
2932
2932
  }).then((e) => {
2933
- e.code == 200 && (this.option = e.data, e.data && e.data.length ? (this.handleTips("", !1, "success"), this.isSelectFirst || e.data.length == 1 ? (this.checkedItem = this.option[0], this.selectDefaultValue = this.checkedItem.id, this.$emit("change", this.checkedItem, this.option), this.handlefirstNode(this.checkedItem.id), this.getDiagramUrl()) : e.data.length > 1 && this.resubmit && this.getProcessInstance()) : (this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F", !0, "error"), this.option = []));
2933
+ e.code == 200 ? (this.option = e.data, e.data && e.data.length ? (this.handleTips("", !1, "success"), this.isSelectFirst || e.data.length == 1 ? (this.checkedItem = this.option[0], this.selectDefaultValue = this.checkedItem.id, this.$emit("change", this.checkedItem, this.option), this.handlefirstNode(this.checkedItem.id), this.getDiagramUrl()) : e.data.length > 1 && this.resubmit && this.getProcessInstance()) : (this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F", !0, "error"), this.option = [])) : this.handleTips(e.msg || "\u64CD\u4F5C\u5931\u8D25", !0, "error");
2934
+ }).catch(() => {
2935
+ this.handleTips("\u64CD\u4F5C\u5931\u8D25", !0, "error");
2934
2936
  }));
2935
2937
  },
2936
2938
  async getProcessInstance() {