chore: update

This commit is contained in:
xiaoxian521
2022-08-11 20:32:55 +08:00
parent 5f1466b574
commit 243c8f71a7
19 changed files with 200 additions and 2766 deletions

View File

@@ -38,8 +38,9 @@ function onCloseTags() {
getNodeByUniqueId(treeData.value, uniqueId).path;
useMultiTagsStoreHook().handleTags("splice", currentPath);
if (currentPath === "/tabs/index")
// @ts-expect-error
router.push({ path: multiTags.value[multiTags.value.length - 1].path });
router.push({
path: multiTags.value[(multiTags as any).value.length - 1].path
});
});
}
</script>