Ver código fonte

修改编辑跃进榜

aaa 3 anos atrás
pai
commit
3f2bd5e5e7

+ 1 - 1
src/views/home/learn/page-learn-content.vue

@@ -25,7 +25,7 @@
           v-if="contentObj.type != 'VIDEO'"
           class="learn-content-body-auther"
         >
-          编辑:{{ contentObj.userId }}
+          <!-- 编辑:{{ contentObj.userId }} -->
         </div>
         <div class="learn-content-body-description">
           <!-- {{ contentObj.contents }} -->

+ 4 - 2
src/views/home/person/rank.vue

@@ -148,8 +148,10 @@ export default {
                 this.rankListOthers.push(item);
               }
             });
+          } else {
+            this.rankListTopThree = [{}, {}, {}];
+            this.rankListOthers = [];
           }
-          console.log(this.rankListTopThree, this.rankListOthers);
           this.finished = true;
           this.loading = false;
           this.$store.commit("toggleLoading", false);
@@ -183,7 +185,7 @@ export default {
 .contentBody {
   font-size: 0.6rem;
   background-color: #fff;
-  .rankLoading{
+  .rankLoading {
     height: 85vh;
     display: flex;
     justify-content: center;