mooho-base-admin-plus 2.10.1 → 2.10.2

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.
@@ -28478,7 +28478,7 @@ const user = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M]
28478
28478
  },
28479
28479
  computed: {},
28480
28480
  async mounted() {
28481
- if (this.$route.meta.data.id) {
28481
+ if (console.log("router.currentRoute.value.fullPath", router$1.currentRoute.value.fullPath), console.log("this.userPermissions", this.userPermissions), console.log("url + '$' + key", router$1.currentRoute.value.fullPath.substr(1).split("?")[0] + "$create"), console.log("this.userPermissions[url + '$' + key]", this.userPermissions[router$1.currentRoute.value.fullPath.substr(1).split("?")[0] + "$create"]), this.$route.meta.data.id) {
28482
28482
  let a = await this.loadPage(this.$route.meta.data.id);
28483
28483
  this.page = a.customPage, this.init();
28484
28484
  } else if (this.applicationTypeCode) {
@@ -28503,7 +28503,7 @@ const user = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M]
28503
28503
  // 初始化
28504
28504
  async init() {
28505
28505
  this.isCancelable = this.page.applicationType.isCancelable, this.isRecallable = this.page.applicationType.isRecallable, setTimeout(() => {
28506
- this.allow("all") || (this.filterData.createUserID = this.info.id), this.$refs.table.init(this.page.tableViewCode, () => {
28506
+ this.allow("all") || (this.$refs.table.filterData.createUserID = this.info.id), this.$refs.table.init(this.page.tableViewCode, () => {
28507
28507
  this.$refs.table.tableView.autoLoadDisable || this.$refs.table.loadData();
28508
28508
  }), (this.page.formViewCode || "").trim() && this.$refs.form.init(this.page.formViewCode), ((this.page.formViewCode || "").trim() || (this.page.showViewCode || "").trim()) && this.$refs.showForm.init((this.page.showViewCode || "").trim() ? this.page.showViewCode : this.page.formViewCode);
28509
28509
  });