| src/permission.js | ●●●●● patch | view | raw | blame | history |
src/permission.js
@@ -47,9 +47,8 @@ store.commit('SET_IS_MENU', isMenu === undefined) const menuAll = getStore({ name: 'menuAll' }) if (getToken()) { if (!menuAll) { if (!menuAll?.length) { store.dispatch('GetMenu').then(data => { if (data.length !== 0) { router.$avueRouter.formatRoutes(data, true)