From 93fe80dc685c47329bdb831e5c16236619d28425 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期六, 01 三月 2025 15:04:28 +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