fix
This commit is contained in:
@@ -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])
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user