From 6b36385fa55a97144819e9cd6afc62f9314db438 Mon Sep 17 00:00:00 2001 From: CrazyLionLi <31852897+JavaLionLi@users.noreply.github.com> Date: 星期一, 18 四月 2022 20:01:57 +0800 Subject: [PATCH] fix 修复图片上传组件 数据异常问题 --- 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