mooho-base-admin-plus 2.10.3 → 2.10.4

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.
@@ -1,4 +1,4 @@
1
- import require$$0$1, { watch, effectScope, reactive, computed, shallowRef, inject, unref, shallowReactive, nextTick, defineComponent, h, provide, ref, getCurrentInstance, watchEffect, openBlock, createElementBlock, createElementVNode, normalizeStyle as normalizeStyle$1, toDisplayString as toDisplayString$2, withDirectives, vModelText, pushScopeId, popScopeId, resolveComponent, resolveDirective, createVNode as createVNode$1, withCtx, Fragment, renderList, createBlock, createTextVNode, createCommentVNode, renderSlot, vShow, withModifiers, normalizeProps, guardReactiveProps, mergeProps, normalizeClass, markRaw, resolveDynamicComponent, Transition, KeepAlive } from "vue";
1
+ import require$$0$1, { watch, effectScope, reactive, computed, shallowRef, unref, shallowReactive, nextTick, defineComponent, inject, h, provide, ref, getCurrentInstance, watchEffect, openBlock, createElementBlock, createElementVNode, normalizeStyle as normalizeStyle$1, toDisplayString as toDisplayString$2, withDirectives, vModelText, pushScopeId, popScopeId, resolveComponent, resolveDirective, createVNode as createVNode$1, withCtx, Fragment, renderList, createBlock, createTextVNode, createCommentVNode, renderSlot, vShow, withModifiers, normalizeProps, guardReactiveProps, mergeProps, normalizeClass, markRaw, resolveDynamicComponent, Transition, KeepAlive } from "vue";
2
2
  import ViewUIPlus from "view-ui-plus";
3
3
  function getDevtoolsGlobalHook() {
4
4
  return getTarget$1().__VUE_DEVTOOLS_GLOBAL_HOOK__;
@@ -6717,9 +6717,6 @@ function extractChangingRecords(a, r) {
6717
6717
  }
6718
6718
  return [o, s, l];
6719
6719
  }
6720
- function useRouter() {
6721
- return inject(routerKey);
6722
- }
6723
6720
  function bind$2(a, r) {
6724
6721
  return function() {
6725
6722
  return a.apply(r, arguments);
@@ -28481,7 +28478,7 @@ const user = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M]
28481
28478
  },
28482
28479
  computed: {},
28483
28480
  async mounted() {
28484
- let a = useRouter();
28481
+ let a = this.$router;
28485
28482
  if (console.log("router.currentRoute.value.fullPath", a.currentRoute.value.fullPath), console.log("this.userPermissions", this.userPermissions), console.log("url + '$' + key", a.currentRoute.value.fullPath.substr(1).split("?")[0] + "$create"), console.log("this.userPermissions[url + '$' + key]", this.userPermissions[a.currentRoute.value.fullPath.substr(1).split("?")[0] + "$create"]), this.$route.meta.data.id) {
28486
28483
  let r = await this.loadPage(this.$route.meta.data.id);
28487
28484
  this.page = r.customPage, this.init();