ui-process-h5 2.6.12 → 2.6.14
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
package/v2/ui-process-h5.js
CHANGED
|
@@ -5613,7 +5613,7 @@ const gr = /* @__PURE__ */ function() {
|
|
|
5613
5613
|
...this.extraParams
|
|
5614
5614
|
}
|
|
5615
5615
|
}).then((e) => {
|
|
5616
|
-
e.code == 200 && (this.option = e.data, e.data && e.data.length ? (this.handleTips("", !1, "success"), this.isSelectFirst && (this.checkedItem = this.option[0], this.selectDefaultValue = this.checkedItem.id, this.$emit("change", this.checkedItem, this.option), this.handlefirstNode(this.checkedItem.id), this.getDiagramUrl())) : (this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F", !0, "error"), this.option = []));
|
|
5616
|
+
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())) : (this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F", !0, "error"), this.option = []));
|
|
5617
5617
|
}));
|
|
5618
5618
|
},
|
|
5619
5619
|
async getProcessInstance() {
|