ui-process-h5 1.2.5 → 1.2.7

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.
@@ -2225,10 +2225,6 @@ const dr = /* @__PURE__ */ J(Da, [["render", cr], ["__scopeId", "data-v-74fc767f
2225
2225
  }
2226
2226
  },
2227
2227
  mounted() {
2228
- this.$nextTick(() => {
2229
- const e = document.querySelector("body");
2230
- e.append ? e.append(this.$el) : e.appendChild(this.$el);
2231
- });
2232
2228
  },
2233
2229
  methods: {
2234
2230
  handleOpen() {
@@ -6765,7 +6761,8 @@ const lA = /* @__PURE__ */ J(Xh, [["render", rA], ["__scopeId", "data-v-b2c51666
6765
6761
  user: {},
6766
6762
  canCheck: !0,
6767
6763
  approveNode: {},
6768
- restartDataS: {}
6764
+ restartDataS: {},
6765
+ selfBtnList: []
6769
6766
  };
6770
6767
  },
6771
6768
  watch: {
@@ -6818,6 +6815,13 @@ const lA = /* @__PURE__ */ J(Xh, [["render", rA], ["__scopeId", "data-v-b2c51666
6818
6815
  },
6819
6816
  immediate: !0,
6820
6817
  deep: !0
6818
+ },
6819
+ selfBtn: {
6820
+ handler(e, t) {
6821
+ e && e.length && (this.selfBtnList = e);
6822
+ },
6823
+ immediate: !0,
6824
+ deep: !0
6821
6825
  }
6822
6826
  },
6823
6827
  computed: {
@@ -6849,7 +6853,7 @@ const lA = /* @__PURE__ */ J(Xh, [["render", rA], ["__scopeId", "data-v-b2c51666
6849
6853
  );
6850
6854
  };
6851
6855
  }
6852
- if (this.selfBtn && this.selfBtn.length && this.selfBtn.map((i) => {
6856
+ if (this.selfBtnList && this.selfBtnList.length && this.selfBtnList.map((i) => {
6853
6857
  let o = {};
6854
6858
  o.name = i.name, o.btnProps = { type: i.type }, e.push(o), o.click = i.click;
6855
6859
  }), t && !this.isView && this.taskObj.buttons && this.taskObj.buttons.length && this.taskObj.buttons.forEach((i) => {
@@ -6965,7 +6969,7 @@ const lA = /* @__PURE__ */ J(Xh, [["render", rA], ["__scopeId", "data-v-b2c51666
6965
6969
  }
6966
6970
  );
6967
6971
  if (s.code == 200) {
6968
- if (s.data)
6972
+ if (s.data && s.data.length) {
6969
6973
  for (let n = 0; n < s.data.length; n++) {
6970
6974
  let i = s.data[n];
6971
6975
  if (i.type != "UserTaskModel") {
@@ -6978,7 +6982,9 @@ const lA = /* @__PURE__ */ J(Xh, [["render", rA], ["__scopeId", "data-v-b2c51666
6978
6982
  }), i.childNode = o);
6979
6983
  }
6980
6984
  }
6981
- return this.handleTips("", !1, "success"), s.data;
6985
+ return this.handleTips("", !1, "success"), s.data;
6986
+ }
6987
+ return this.handleTips("", !1, "success"), [];
6982
6988
  }
6983
6989
  return [];
6984
6990
  },