panhui 3 years ago
parent
commit
3c77187617
2 changed files with 5 additions and 3 deletions
  1. BIN
      src/assets/top50.png
  2. 5 3
      src/views/user/Rank.vue

BIN
src/assets/top50.png


+ 5 - 3
src/views/user/Rank.vue

@@ -58,9 +58,11 @@ export default {
         });
         this.$http.get('/userHold/app/top').then(res => {
             this.$toast.clear();
-            this.list = res.filter(item => {
-                return item.userId !== '1435297' && item.userId !== '4273750';
-            });
+            this.list = res
+                .filter(item => {
+                    return item.userId !== '1435297' && item.userId !== '4273750';
+                })
+                .slice(0, 20);
         });
         // this.$http
         //     .get('sysConfig/get/fixed_top')