Преглед на файлове

index page - apply isHiddenVoluntary

hehaitao преди 1 година
родител
ревизия
08a2daee07
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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"/>