improve: 切换页面初始化

This commit is contained in:
From-wh 2023-04-23 10:30:30 +08:00
parent dc1c231697
commit 3ad25b35c5

View File

@ -66,6 +66,7 @@ export default {
},
},
beforeRouteUpdate(to, from, next) {
this.from.page = 1;
this.getCrudApi(to.params.table_name);
next();
},