mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-10-04 01:10:33 +00:00
fix(autoCode): 删除不必要的路由参数监听
This commit is contained in:
@@ -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