This commit is contained in:
X1627315083
2025-11-11 16:17:32 +08:00
parent 28417b7b55
commit 5c3a8975d6
3 changed files with 18 additions and 13 deletions

View File

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