Parcourir la source

Merge branch 'v5.0.0dev' of https://gitee.com/ZhongBangKeJi/CRMEB into v5.0.0dev

liaofei il y a 2 ans
Parent
commit
08c0cf2d69
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      template/admin/src/pages/crud/index.vue

+ 1 - 0
template/admin/src/pages/crud/index.vue

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