Browse Source

标签关闭路由跳转问题

CzRger 9 months ago
parent
commit
d73c47a443
1 changed files with 1 additions and 1 deletions
  1. 1 1
      snowy-admin-web/src/layout/components/tags.vue

+ 1 - 1
snowy-admin-web/src/layout/components/tags.vue

@@ -147,7 +147,7 @@
 		if (autoPushLatestView && isActive(tag)) {
 		if (autoPushLatestView && isActive(tag)) {
 			const latestView = tagList.value.slice(-1)[0]
 			const latestView = tagList.value.slice(-1)[0]
 			if (latestView) {
 			if (latestView) {
-				router.push(latestView)
+				router.push(latestView.path)
 			} else {
 			} else {
 				router.push('/')
 				router.push('/')
 			}
 			}