From 9013d54addcaba0c7f86f9c43271f4f025065875 Mon Sep 17 00:00:00 2001 From: lilinyuan <1084668738@qq.com> Date: Fri, 24 May 2024 14:26:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E6=8E=89log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/permisstion.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/stores/permisstion.js b/src/stores/permisstion.js index 473b1b8..ac0f064 100644 --- a/src/stores/permisstion.js +++ b/src/stores/permisstion.js @@ -5,7 +5,6 @@ import Layout from '@/layout/index.vue' import ParentView from '@/components/ParentView.vue' import router from "../router"; const VueComUrl = import.meta.glob('../views/**/*.vue') -console.log(VueComUrl, 'VueComUrl'); export const usePermisstionStroe = defineStore('permisstion', () => { const asyncRouters = ref([]) @@ -35,7 +34,6 @@ export const usePermisstionStroe = defineStore('permisstion', () => { const mData = JSON.parse(JSON.stringify(res.data)) console.log(JSON.parse(JSON.stringify(sRouter)), 'sRouter'); const firstFormat = setRouterLevel(JSON.parse(JSON.stringify(sRouter))) - console.log(firstFormat, 'firstFormat'); asyncRouters.value = formatAsyncRouters(JSON.parse(JSON.stringify(firstFormat))) menuList.value = [...menuList.value, ...generateMenu(mData)] addAsyncRouters(asyncRouters.value) @@ -70,7 +68,6 @@ export const usePermisstionStroe = defineStore('permisstion', () => { } else if (route.component === 'ParentView') { route.component = ParentView } else { - console.log(route.component, 'route.component'); route.component = loadView(route.component) } }