无人机管理后台前端(已迁走)
chenyao
2025-07-21 84d3ca7935f6cd913699cc5506cdc42a94fed640
src/store/modules/user.js
@@ -273,7 +273,7 @@
        getRoutes(tenantId).then(res => {
          const data = res.data.data;
          let menu = deepClone(data);
          menu.forEach(ele => formatPath(ele, true));
          menu?.forEach(ele => formatPath(ele, true));
          commit('SET_MENU', menu);
          commit('SET_MENU_ALL', menu);
          dispatch('GetButtons');