Browse Source

index page - apply isHiddenVoluntary

hehaitao 1 năm trước cách đây
mục cha
commit
08a2daee07
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/index/login.vue

+ 1 - 1
src/views/index/login.vue

@@ -10,7 +10,7 @@
         <index-card-career class="mt20 index-block"/>
         <index-card-test-news class="mt20 index-block" />
         <index-card-college class="mt20 index-block" />
-        <index-card-simulate-f4 class="mt20 index-block" />
+        <index-card-simulate-f4 v-if="!currentUser.isHiddenVoluntary" class="mt20 index-block" />
         <index-card-subject-query v-if="false" class="mt20 index-block"/>
         <index-card-elective-test v-if="false" class="mt20 index-block"/>
         <index-preference-simulate v-if="false" class="mt20 index-block"/>