fix(autoCode): 删除不必要的路由参数监听
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user