实现history页面缓存

This commit is contained in:
X1627315083
2025-11-11 13:38:36 +08:00
parent ef1378a1ad
commit 0b9de55f34
12 changed files with 158 additions and 74 deletions

View File

@@ -92,9 +92,10 @@ export default defineComponent({
(query:any, oldQuery:any) => {
if(oldQuery && query?.tools == oldQuery?.tools)return
const key = Object.keys(query)?.[0]
if(route.name == 'tools' && key){
if(route.name == 'toolsPage' && key){
data.openType = query[key]
nextTick(()=>{
if(route.fullPath === store.state.Workspace.projectPath)return
open(query[key])
})
}