页面路由跳转返回后数据回显,记住原先的状态

This commit is contained in:
2026-05-12 08:57:26 +08:00
parent c2b64d5e22
commit ad1cbee74a
164 changed files with 5150 additions and 2246 deletions

View File

@@ -20,7 +20,8 @@ export default {
return this.$store.state.tagsView.cachedViews
},
key() {
return this.$route.path
// 包含 query 参数,确保带参数的路由能正确刷新组件
return this.$route.fullPath
}
}
}