chenyc
2024-11-22 3c8f8f2102986cc01cb13c8e9bb791a32bff4e1e
src/router/backEnd.ts
@@ -43,6 +43,7 @@
   await useUserInfo().setUserInfos();
   // 获取路由菜单数据
   const res = await getBackEndControlRoutes();
   console.log(res,'路由获取')
   // 无登录权限时,添加判断
   // https://gitee.com/lyt-top/vue-next-admin/issues/I64HVO
   if (res.data.length <= 0) return Promise.resolve(true);