fix 修复 五级路由缓存无效问题
This commit is contained in:
parent
8a7de17b58
commit
0a8c33c3cb
@ -100,6 +100,10 @@ export const usePermissionStore = defineStore('permission', () => {
|
|||||||
}
|
}
|
||||||
if (lastRouter) {
|
if (lastRouter) {
|
||||||
el.path = lastRouter.path + '/' + el.path;
|
el.path = lastRouter.path + '/' + el.path;
|
||||||
|
if (el.children && el.children.length) {
|
||||||
|
children = children.concat(filterChildren(el.children, el))
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
children = children.concat(el);
|
children = children.concat(el);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user