ui-process-h5 3.3.21 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-process-h5",
3
- "version": "3.3.21",
3
+ "version": "3.3.22",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ui-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -5628,7 +5628,9 @@ const gr = /* @__PURE__ */ function() {
5628
5628
  ...this.extraParams
5629
5629
  }
5630
5630
  }).then((t) => {
5631
- t.code == 200 && (this.option = t.data, t.data && t.data.length ? (this.handleTips("", !1, "success"), this.isSelectFirst || t.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()) : t.data.length > 1 && this.resubmit && this.getProcessInstance()) : (this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F", !0, "error"), this.option = []));
5631
+ t.code == 200 ? (this.option = t.data, t.data && t.data.length ? (this.handleTips("", !1, "success"), this.isSelectFirst || t.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()) : t.data.length > 1 && this.resubmit && this.getProcessInstance()) : (this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F", !0, "error"), this.option = [])) : this.handleTips(t.msg || "\u64CD\u4F5C\u5931\u8D25", !0, "error");
5632
+ }).catch(() => {
5633
+ this.handleTips("\u64CD\u4F5C\u5931\u8D25", !0, "error");
5632
5634
  }));
5633
5635
  },
5634
5636
  async getProcessInstance() {