mooho-base-admin-plus 0.1.57 → 0.1.59

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.
@@ -26173,16 +26173,9 @@ const _sfc_main$K = {
26173
26173
  };
26174
26174
  },
26175
26175
  computed: {},
26176
- async created() {
26176
+ async mounted() {
26177
26177
  this.init(this.$route.meta.data.id);
26178
26178
  },
26179
- watch: {
26180
- $route() {
26181
- if (this.$route.meta.data.id) {
26182
- this.init(this.$route.meta.data.id);
26183
- }
26184
- }
26185
- },
26186
26179
  methods: __spreadProps(__spreadValues({}, mapActions("admin/viewPage", { loadPage: "load" })), {
26187
26180
  async init(pageID) {
26188
26181
  let res2 = await this.loadPage(pageID);
@@ -26957,16 +26950,9 @@ const _sfc_main$I = {
26957
26950
  };
26958
26951
  },
26959
26952
  computed: {},
26960
- created() {
26953
+ mounted() {
26961
26954
  this.init(this.$route.meta.data.id);
26962
26955
  },
26963
- watch: {
26964
- $route() {
26965
- if (this.$route.meta.data.id) {
26966
- this.init(this.$route.meta.data.id);
26967
- }
26968
- }
26969
- },
26970
26956
  methods: __spreadProps(__spreadValues(__spreadValues({}, mapActions("admin/viewPage", { loadPage: "load" })), mapActions("admin/dataView", { loadView: "load" })), {
26971
26957
  async init(pageID) {
26972
26958
  let res2 = await this.loadPage(pageID);
@@ -27005,8 +26991,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
27005
26991
  class: "ivu-mt"
27006
26992
  }, {
27007
26993
  default: withCtx(() => [
27008
- $data.page ? (openBlock(), createBlock(_component_view_table, {
27009
- key: 0,
26994
+ createVNode$1(_component_view_table, {
27010
26995
  ref: "table",
27011
26996
  onOnLoadData: $options.onLoadData
27012
26997
  }, {
@@ -27016,7 +27001,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
27016
27001
  ])
27017
27002
  ]),
27018
27003
  _: 1
27019
- }, 8, ["onOnLoadData"])) : createCommentVNode("", true)
27004
+ }, 8, ["onOnLoadData"])
27020
27005
  ]),
27021
27006
  _: 1
27022
27007
  })
@@ -27042,13 +27027,6 @@ const _sfc_main$H = {
27042
27027
  mounted() {
27043
27028
  this.init(this.$route.meta.data.id);
27044
27029
  },
27045
- watch: {
27046
- $route() {
27047
- if (this.$route.meta.data.id) {
27048
- this.init(this.$route.meta.data.id);
27049
- }
27050
- }
27051
- },
27052
27030
  methods: __spreadProps(__spreadValues({}, mapActions("admin/viewPage", { loadPage: "load" })), {
27053
27031
  async init(pageID) {
27054
27032
  let res2 = await this.loadPage(pageID);