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.
package/v2.7/ui-process-h5.js
CHANGED
|
@@ -5005,7 +5005,9 @@ const Mn = /* @__PURE__ */ function() {
|
|
|
5005
5005
|
...this.extraParams
|
|
5006
5006
|
}
|
|
5007
5007
|
}).then((t) => {
|
|
5008
|
-
t.code == 200
|
|
5008
|
+
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");
|
|
5009
|
+
}).catch(() => {
|
|
5010
|
+
this.handleTips("\u64CD\u4F5C\u5931\u8D25", !0, "error");
|
|
5009
5011
|
}));
|
|
5010
5012
|
},
|
|
5011
5013
|
async getProcessInstance() {
|