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