ui-process-h5 1.2.6 → 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.
@@ -6761,7 +6761,8 @@ const lA = /* @__PURE__ */ J(Xh, [["render", rA], ["__scopeId", "data-v-b2c51666
6761
6761
  user: {},
6762
6762
  canCheck: !0,
6763
6763
  approveNode: {},
6764
- restartDataS: {}
6764
+ restartDataS: {},
6765
+ selfBtnList: []
6765
6766
  };
6766
6767
  },
6767
6768
  watch: {
@@ -6814,6 +6815,13 @@ const lA = /* @__PURE__ */ J(Xh, [["render", rA], ["__scopeId", "data-v-b2c51666
6814
6815
  },
6815
6816
  immediate: !0,
6816
6817
  deep: !0
6818
+ },
6819
+ selfBtn: {
6820
+ handler(e, t) {
6821
+ e && e.length && (this.selfBtnList = e);
6822
+ },
6823
+ immediate: !0,
6824
+ deep: !0
6817
6825
  }
6818
6826
  },
6819
6827
  computed: {
@@ -6845,7 +6853,7 @@ const lA = /* @__PURE__ */ J(Xh, [["render", rA], ["__scopeId", "data-v-b2c51666
6845
6853
  );
6846
6854
  };
6847
6855
  }
6848
- if (this.selfBtn && this.selfBtn.length && this.selfBtn.map((i) => {
6856
+ if (this.selfBtnList && this.selfBtnList.length && this.selfBtnList.map((i) => {
6849
6857
  let o = {};
6850
6858
  o.name = i.name, o.btnProps = { type: i.type }, e.push(o), o.click = i.click;
6851
6859
  }), t && !this.isView && this.taskObj.buttons && this.taskObj.buttons.length && this.taskObj.buttons.forEach((i) => {
@@ -6961,7 +6969,7 @@ const lA = /* @__PURE__ */ J(Xh, [["render", rA], ["__scopeId", "data-v-b2c51666
6961
6969
  }
6962
6970
  );
6963
6971
  if (s.code == 200) {
6964
- if (s.data) {
6972
+ if (s.data && s.data.length) {
6965
6973
  for (let n = 0; n < s.data.length; n++) {
6966
6974
  let i = s.data[n];
6967
6975
  if (i.type != "UserTaskModel") {