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/package.json
CHANGED
package/v2/ui-process-h5.js
CHANGED
|
@@ -5273,10 +5273,12 @@ const le = /* @__PURE__ */ function() {
|
|
|
5273
5273
|
deep: !0
|
|
5274
5274
|
},
|
|
5275
5275
|
defaultValue: {
|
|
5276
|
+
immediate: !0,
|
|
5277
|
+
deep: !0,
|
|
5276
5278
|
handler(e, i) {
|
|
5277
5279
|
this.active = e;
|
|
5278
5280
|
let t = this.lists.filter((s, n) => s.id == e);
|
|
5279
|
-
this.activeItem = t[0], this.$emit("change", this.activeItem);
|
|
5281
|
+
this.activeItem = t[0], this.activeItem && this.$emit("change", this.activeItem);
|
|
5280
5282
|
}
|
|
5281
5283
|
}
|
|
5282
5284
|
},
|
|
@@ -5559,7 +5561,7 @@ const fr = /* @__PURE__ */ function() {
|
|
|
5559
5561
|
processGroupName: this.processNameData
|
|
5560
5562
|
}
|
|
5561
5563
|
}).then((e) => {
|
|
5562
|
-
e.code == 200 && (this.option = e.data, e.data && e.data.length ? (this.handleTips("", !
|
|
5564
|
+
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 = []));
|
|
5563
5565
|
}));
|
|
5564
5566
|
},
|
|
5565
5567
|
async getProcessInstance() {
|