src/plugins/tab.js
@@ -35,7 +35,7 @@ return useTagsViewStore().delView(router.currentRoute.value).then(({ visitedViews }) => { const latestView = visitedViews.slice(-1)[0] if (latestView) { return router.push(latestView.fullPath) return router.push(latestView.fullPath) } return router.push('/'); });