From d7af461d2cec93420135c8dfd72f608edd78a9a4 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期六, 23 四月 2022 22:13:06 +0800
Subject: [PATCH] 修复左侧菜单栏收缩后图标不显示问题
---
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