Explorar o código

标签关闭路由跳转问题

CzRger hai 9 meses
pai
achega
d73c47a443
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)) {
 			const latestView = tagList.value.slice(-1)[0]
 			if (latestView) {
-				router.push(latestView)
+				router.push(latestView.path)
 			} else {
 				router.push('/')
 			}