fix(autoCode): 删除不必要的路由参数监听
This commit is contained in:
parent
72ee8fb6fc
commit
d5b4bbfa84
|
|
@ -74,7 +74,6 @@ export const useRouterStore = defineStore('router', () => {
|
|||
})
|
||||
|
||||
keepAliveRouters.value = Array.from(new Set(keepArrTemp))
|
||||
console.log(keepAliveRouters.value)
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1542,15 +1542,6 @@
|
|||
}
|
||||
init()
|
||||
|
||||
watch(
|
||||
() => route.params.id,
|
||||
() => {
|
||||
if (route.name === 'autoCodeEdit') {
|
||||
init()
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
watch(()=>form.value.generateServer,()=>{
|
||||
if(!form.value.generateServer){
|
||||
form.value.autoCreateApiToSql = false
|
||||
|
|
|
|||
Loading…
Reference in New Issue