Skip to content

Commit d5b4bbf

Browse files
author
piexlMax(奇淼
committed
fix(autoCode): 删除不必要的路由参数监听
1 parent 72ee8fb commit d5b4bbf

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

web/src/pinia/modules/router.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export const useRouterStore = defineStore('router', () => {
7474
})
7575

7676
keepAliveRouters.value = Array.from(new Set(keepArrTemp))
77-
console.log(keepAliveRouters.value)
7877
}
7978

8079

web/src/view/systemTools/autoCode/index.vue

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,15 +1542,6 @@
15421542
}
15431543
init()
15441544
1545-
watch(
1546-
() => route.params.id,
1547-
() => {
1548-
if (route.name === 'autoCodeEdit') {
1549-
init()
1550-
}
1551-
}
1552-
)
1553-
15541545
watch(()=>form.value.generateServer,()=>{
15551546
if(!form.value.generateServer){
15561547
form.value.autoCreateApiToSql = false

0 commit comments

Comments
 (0)