mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 14:31:04 +00:00
improve: 切换页面初始化
This commit is contained in:
parent
dc1c231697
commit
3ad25b35c5
@ -66,6 +66,7 @@ export default {
|
||||
},
|
||||
},
|
||||
beforeRouteUpdate(to, from, next) {
|
||||
this.from.page = 1;
|
||||
this.getCrudApi(to.params.table_name);
|
||||
next();
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user