ソースを参照

日志清空后重置页码和总数

偶是小菜鸟 5 年 前
コミット
c6ba4d987d
1 ファイル変更2 行追加0 行削除
  1. 2 0
      src/page/logs/index.vue

+ 2 - 0
src/page/logs/index.vue

@@ -102,6 +102,8 @@ export default {
         cancelButtonText: '取消',
         type: 'warning'
       }).then(() => {
+        this.page.currentPage = 1;
+        this.page.total = 0;
         this.$store.commit('CLEAR_LOGS')
         this.$parent.$parent.box = false
         this.$message.success( '清空成功!')