无人机管理后台前端(已迁走)
chenyao
2025-07-21 84d3ca7935f6cd913699cc5506cdc42a94fed640
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)