ui-process-h5 1.1.9 → 1.1.10

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-process-h5",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ui-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -10681,6 +10681,10 @@ const ye = /* @__PURE__ */ function() {
10681
10681
  type: String,
10682
10682
  default: "all"
10683
10683
  },
10684
+ beforeFunction: {
10685
+ type: Function,
10686
+ default: null
10687
+ },
10684
10688
  manual: {
10685
10689
  type: Boolean,
10686
10690
  default: !1
@@ -10870,7 +10874,7 @@ const ye = /* @__PURE__ */ function() {
10870
10874
  );
10871
10875
  return;
10872
10876
  }
10873
- this.$emit("beforeFunction"), this.manual || this.$nextTick(async () => {
10877
+ this.beforeFunction && await this.beforeFunction(), this.manual || this.$nextTick(async () => {
10874
10878
  await this.handleSongshen();
10875
10879
  });
10876
10880
  },