ソースを参照

fix: 修复翻页

zhangyuhan 2 年 前
コミット
8728fdf95f

+ 3 - 1
src/web/staticres/frontRouter/pc/seeHistory/js/index-pc.js

@@ -93,7 +93,9 @@ var vm = new Vue({
                 if (res.error_code == 0) {
                     this.working = false
                     this.empty = true
-                    this.seeList.total = res.data.total || 0
+                    if (this.seeList.pageNum === 1) {
+                      this.seeList.total = res.data.total || 0
+                    }
                     if (!res.data.list) {
                       res.data.list = []
                     }