From 9e1616b075f2ea6684bf1b38d9e8e41b1d989fba Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期四, 30 十一月 2023 09:40:51 +0800
Subject: [PATCH] 优化控制台提示路由重复问题

---
 src/plugins/tab.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/plugins/tab.js b/src/plugins/tab.js
index 407f634..004aa86 100644
--- a/src/plugins/tab.js
+++ b/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('/');
       });

--
Gitblit v1.9.3