From 7d4b0c6c1e2c94f7254e51844d2bbc89d891cea4 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期五, 18 三月 2022 15:11:49 +0800
Subject: [PATCH] update vite.config.js
---
src/store/modules/permission.js | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js
index ce2314a..1b58c6f 100644
--- a/src/store/modules/permission.js
+++ b/src/store/modules/permission.js
@@ -24,12 +24,7 @@
state.defaultRoutes = constantRoutes.concat(routes)
},
SET_TOPBAR_ROUTES: (state, routes) => {
- // 椤堕儴瀵艰埅鑿滃崟榛樿娣诲姞缁熻鎶ヨ〃鏍忔寚鍚戦椤�
- const index = [{
- path: 'index',
- meta: { title: '缁熻鎶ヨ〃', icon: 'dashboard' }
- }]
- state.topbarRouters = routes.concat(index);
+ state.topbarRouters = routes
},
SET_SIDEBAR_ROUTERS: (state, routes) => {
state.sidebarRouters = routes
--
Gitblit v1.9.3