Explorar el Código

index page - apply isHiddenVoluntary

hehaitao hace 1 año
padre
commit
08a2daee07
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"/>