fix: temporary storage

This commit is contained in:
xiaoxian521
2021-04-12 18:01:20 +08:00
parent 68330026b6
commit 78d9c17201
7 changed files with 225 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ export function useDynamicRoutesHook() {
let pathConcat = parentPath + '/' + arrItem.path
if (arrItem.path === value || pathConcat === value) {
dynamic.dRoutes.push({ path: value, meta: arrItem.meta })
console.log(dynamic.dRoutes)
// console.log(dynamic.dRoutes)
} else {
if (arrItem.children && arrItem.children.length > 0) {
concatPath(arrItem.children, value, parentPath)