From 5eb6903bde0b9be730b35fc116eabf808f8f64e0 Mon Sep 17 00:00:00 2001 From: web <candymxq888@outlook.com> Date: 星期二, 18 三月 2025 11:33:58 +0800 Subject: [PATCH] fix:简化项目模板&剔除无用部分 --- src/utils/index.js | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/utils/index.js b/src/utils/index.js index 8e78dd2..35b043c 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -14,12 +14,10 @@ let routesData = JSON.parse(JSON.stringify(menuStore.sidebarRouters)); //定义路径模式 const views = import.meta.glob('../views/**/*/index.vue'); - // console.log('routesData',routesData) //组装成router需要的格式(加上component和meta) routesData = setActiveRoute(routesData, views) //设置路由 // console.log('组装完成',routesData) routesData.forEach((item) => { - console.log(222222,router) //路由数据解析完成,开始添加到本地路由表中 router.addRoute('/', item); // console.log('item',item) -- Gitblit v1.9.3