super-pages 0.0.16-up → 0.0.17-up

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.
@@ -10813,7 +10813,7 @@ const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_re
10813
10813
  ), bus.$on(t.pageCode + "-refresh-tab", (o) => {
10814
10814
  t.$refs.grid && o !== void 0 && o === t.tabCode && t.$refs.grid.refresh();
10815
10815
  }), bus.$on(this.pageCode + "_close-dialog-get-entity", () => {
10816
- $emit(bus, t.pageCode + "_close-super-dialog");
10816
+ bus.$emit(t.pageCode + "_close-super-dialog");
10817
10817
  });
10818
10818
  },
10819
10819
  beforeUnmount() {
@@ -14352,7 +14352,7 @@ const FormPage = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_rende
14352
14352
  created() {
14353
14353
  const e = this;
14354
14354
  bus.$on(this.pageCode + "_close-dialog-get-entity", () => {
14355
- $emit(bus, e.pageCode + "_close-super-dialog");
14355
+ bus.$emit(e.pageCode + "_close-super-dialog");
14356
14356
  });
14357
14357
  },
14358
14358
  mounted() {
@@ -16040,7 +16040,7 @@ const _sfc_main = {
16040
16040
  this.initPage(), (this.width === void 0 || this.width === null) && (this.width = "80%"), (this.height === void 0 || this.height === null) && (this.height = "90%");
16041
16041
  const e = this;
16042
16042
  bus.$on(this.pageCode + "_close-super-dialog", (t) => {
16043
- $emit(e, "close", { entity: t, pageCode: this.pageCode });
16043
+ e.$emit("close", { entity: t, pageCode: this.pageCode });
16044
16044
  });
16045
16045
  },
16046
16046
  unmounted() {
@@ -16095,11 +16095,11 @@ const _sfc_main = {
16095
16095
  e,
16096
16096
  t,
16097
16097
  o
16098
- ), $emit(this, "update-value", e, t, o);
16098
+ ), this.$emit("update-value", e, t, o);
16099
16099
  },
16100
16100
  // 关闭弹框时,触发表单页面的'close-dialog-get-entity'事件
16101
16101
  closeDialogGetEntity() {
16102
- $emit(bus, this.pageCode + "_close-dialog-get-entity");
16102
+ bus.$emit(this.pageCode + "_close-dialog-get-entity");
16103
16103
  }
16104
16104
  },
16105
16105
  emits: ["open", "opend", "closed", "close", "update-value"]