ui-process-h5 2.0.4 → 2.0.5
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
|
@@ -4650,10 +4650,12 @@ const re = /* @__PURE__ */ function() {
|
|
|
4650
4650
|
deep: !0
|
|
4651
4651
|
},
|
|
4652
4652
|
defaultValue: {
|
|
4653
|
+
immediate: !0,
|
|
4654
|
+
deep: !0,
|
|
4653
4655
|
handler(e, s) {
|
|
4654
4656
|
this.active = e;
|
|
4655
4657
|
let t = this.lists.filter((i, a) => i.id == e);
|
|
4656
|
-
this.activeItem = t[0], this.$emit("change", this.activeItem);
|
|
4658
|
+
this.activeItem = t[0], this.activeItem && this.$emit("change", this.activeItem);
|
|
4657
4659
|
}
|
|
4658
4660
|
}
|
|
4659
4661
|
},
|
|
@@ -4936,7 +4938,7 @@ const Dn = /* @__PURE__ */ function() {
|
|
|
4936
4938
|
processGroupName: this.processNameData
|
|
4937
4939
|
}
|
|
4938
4940
|
}).then((e) => {
|
|
4939
|
-
e.code == 200 && (this.option = e.data, e.data && e.data.length ? (this.handleTips("", !
|
|
4941
|
+
e.code == 200 && (this.option = e.data, e.data && e.data.length ? (this.handleTips("", !0, "success"), this.checkedItem = this.option[0], this.selectDefaultValue = this.checkedItem.id, this.$emit("change", this.checkedItem, this.option), this.handlefirstNode(this.checkedItem.id), this.getProcessInstance(), this.getDiagramUrl()) : (this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F", !0, "error"), this.option = []));
|
|
4940
4942
|
}));
|
|
4941
4943
|
},
|
|
4942
4944
|
async getProcessInstance() {
|