docs: 注释修改
This commit is contained in:
parent
00c2aab7dd
commit
e39f510360
@ -128,7 +128,7 @@ const closeOther = (type: string) => {
|
|||||||
tabsList.value = tabsList.value.filter((item: Menu.MenuOptions) => !rightNames.includes(item.name));
|
tabsList.value = tabsList.value.filter((item: Menu.MenuOptions) => !rightNames.includes(item.name));
|
||||||
// 删除缓存
|
// 删除缓存
|
||||||
routerStore.removeRouteNames(rightNames);
|
routerStore.removeRouteNames(rightNames);
|
||||||
// 关闭全部,跳转最后一个
|
// 关闭全部,若当前被关闭则跳转最后一个
|
||||||
if (tabsList.value.length != 0 && !currentRoute.value.meta.affix && type == "all") {
|
if (tabsList.value.length != 0 && !currentRoute.value.meta.affix && type == "all") {
|
||||||
router.push(tabsList.value.at(-1).path);
|
router.push(tabsList.value.at(-1).path);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user