袁少华 4 years ago
parent
commit
d0c2666ca7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      pages/dashboard/esop.html

+ 3 - 1
pages/dashboard/esop.html

@@ -137,7 +137,9 @@
             },
             methods: {
                 SYPage(){
-                    this.taskList2 = taskList2.slice(0, 10);
+                    this.pIndex = 0;
+                    this.pSize = 10;
+                    this.taskList2 = taskList2.slice(this.pIndex, this.pSize);
                 },
                 beforePage(){
                     if(this.pIndex == 0){