Parcourir la source

翻页问题修复

wolyshaw il y a 4 ans
Parent
commit
c32b42a786
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5 1
      src/views/auditList/index.vue

+ 5 - 1
src/views/auditList/index.vue

@@ -246,7 +246,7 @@
       :visible.sync="typesStatus"
       destroy-on-close
     >
-      <audit :selList="selList" @close="typesStatus = false" @submited="getList" />
+      <audit :selList="selList" @close="typesStatus = false" @submited="submited" />
     </el-dialog>
   </div>
 </template>
@@ -333,6 +333,10 @@ export default {
       };
       this.typeStatus = true;
     },
+    submited() {
+      this.pageInfo.page = 1
+      this.getList()
+    },
     close() {
       this.typeStatus = false;
       this.getList();