Selaa lähdekoodia

Merge branch 'develop' of gitadmin/tuoheng_pilot_web into release

pull/114/head
zhangtao 1 vuosi sitten
vanhempi
commit
2aa26d4be3
2 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. +1
    -0
      src/router/guard/permission-guard.js
  2. +2
    -2
      src/views/system-manage/role-manage/components/AuthModal.vue

+ 1
- 0
src/router/guard/permission-guard.js Näytä tiedosto



export function createPermissionGuard(router) { export function createPermissionGuard(router) {
const userStore = useUserStore() const userStore = useUserStore()
userStore.getUserInfos()
const permissionStore = usePermissionStore() const permissionStore = usePermissionStore()
router.beforeEach(async(to, from, next) => { router.beforeEach(async(to, from, next) => {
const oidcUser = await getUserInfo() const oidcUser = await getUserInfo()

+ 2
- 2
src/views/system-manage/role-manage/components/AuthModal.vue Näytä tiedosto

<n-tabs type="line" animated> <n-tabs type="line" animated>
<n-tab-pane display-directive="show" name="pc" tab="管理端菜单"> <n-tab-pane display-directive="show" name="pc" tab="管理端菜单">
<n-tree <n-tree
v-if="tabsTreeVisible"
v-show="tabsTreeVisible"
ref="adminTreeRef" ref="adminTreeRef"
block-line block-line
cascade cascade
</n-tab-pane> </n-tab-pane>
<n-tab-pane display-directive="show" name="mp" tab="小程序菜单"> <n-tab-pane display-directive="show" name="mp" tab="小程序菜单">
<n-tree <n-tree
v-if="tabsTreeVisible"
v-show="tabsTreeVisible"
ref="miniTreeRef" ref="miniTreeRef"
block-line block-line
cascade cascade

Loading…
Peruuta
Tallenna