From 41b20b89eb03e1a7e52e7e31ce3fd3f240f67c46 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Mon, 04 Jul 2022 11:17:21 +0800
Subject: [PATCH] '菜单'
---
src/router/index.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/router/index.ts b/src/router/index.ts
index 6776c5a..112fa0f 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -10,6 +10,7 @@
import { staticRoutes } from '/@/router/route';
import { initFrontEndControlRoutes } from '/@/router/frontEnd';
import { initBackEndControlRoutes } from '/@/router/backEnd';
+import {useUserInfo} from "/@/stores/userInfo";
@@ -87,7 +88,6 @@
const storesRoutesList = useRoutesList(pinia);
const { routesList } = storeToRefs(storesRoutesList);
if (routesList.value.length === 0) {
- debugger
// 后端控制路由:路由数据初始化,防止刷新时丢失
await initBackEndControlRoutes();
// 动态添加路由:防止非首页刷新时跳转回首页的问题
--
Gitblit v1.9.2