mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 00:47:19 +08:00
fix: 修复混合模式导航下调用initRouter
函数导致左侧导航内存溢出问题
This commit is contained in:
parent
12f0f096ca
commit
d305e6fb1f
@ -32,6 +32,7 @@ const loading = computed(() =>
|
||||
);
|
||||
|
||||
function getSubMenuData(path: string) {
|
||||
subMenuData.value = [];
|
||||
// path的上级路由组成的数组
|
||||
const parentPathArr = getParentPaths(
|
||||
path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user