From 92013b0c5118b158e3cedf58870c60be802f38c2 Mon Sep 17 00:00:00 2001 From: wangdong <1551135706@qq.com> Date: Mon, 3 Jun 2024 10:06:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E5=95=86=E5=9F=8E=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/permission.js | 1 - src/views/store/modules/CreateForm.vue | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/permission.js b/src/permission.js index f5c2dcd..51a7946 100644 --- a/src/permission.js +++ b/src/permission.js @@ -31,7 +31,6 @@ router.beforeEach((to, from, next) => { store .dispatch('GetInfo') .then(data => { - console.log() const roles = data.roles store.dispatch('GenerateRoutes', { roles }).then(() => { // 根据roles权限生成可访问的路由表 diff --git a/src/views/store/modules/CreateForm.vue b/src/views/store/modules/CreateForm.vue index 9c795da..267bcf7 100644 --- a/src/views/store/modules/CreateForm.vue +++ b/src/views/store/modules/CreateForm.vue @@ -14,8 +14,8 @@ - 单商户 - 多商户 + 单商户 + 多商户