Browse Source

fix: 修正评价和收藏写反了的问题(x

ChenYangfan 6 years ago
parent
commit
4bcf789bf0
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/quiz/StudentQuestions.vue

+ 4 - 4
src/views/quiz/StudentQuestions.vue

@@ -8,11 +8,11 @@
         <c-button :left="8" icon="assignment" :theme="getListFunction === getCompletedQuestions ? 'green' : 'normal'"
                   @click="getListFunction = getCompletedQuestions">已完成
         </c-button>
-        <c-button :left="8" icon="bookmarks" :theme="getListFunction === getRatedQuestions ? 'green' : 'normal'"
-                  @click="getListFunction = getRatedQuestions">已收藏
+        <c-button :left="8" icon="bookmarks" :theme="getListFunction === getCollectedQuestions ? 'green' : 'normal'"
+                  @click="getListFunction = getCollectedQuestions">已收藏
         </c-button>
-        <c-button :left="8" icon="stars" :theme="getListFunction === getCollectedQuestions ? 'green' : 'normal'"
-                  @click="getListFunction = getCollectedQuestions">已评价
+        <c-button :left="8" icon="stars" :theme="getListFunction === getRatedQuestions ? 'green' : 'normal'"
+                  @click="getListFunction = getRatedQuestions">已评价
         </c-button>
       </div>
     </back-title>