Kaynağa Gözat

fix faceid UI

Michael Wang 6 yıl önce
ebeveyn
işleme
172156a003
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      src/features/OnlineExam/Examing/FaceId.vue

+ 2 - 2
src/features/OnlineExam/Examing/FaceId.vue

@@ -17,9 +17,9 @@
         <div style="color:white;font-weight: bold;font-size:20px;">
           {{redoBtnMsg}}
         </div>
-        <button ng-show="redoBtnShow" type="button" class="btn" ng-disabled="redoBtnDisabled" ng-click="startFaceVerify()">重试</button>
+        <button v-if="redoBtnShow" type="button" class="qm-primary-button" :disabled="redoBtnDisabled" @click="startFaceVerify()">重试</button>
       </div>
-      <iframe ng-show="showIframe" allow="camera *" allowusermedia id="myFrame" scrolling="no" width="100%" height="620px" frameborder="0"></iframe>
+      <iframe v-if="showIframe" allow="camera *" allowusermedia id="myFrame" scrolling="no" width="100%" height="620px" frameborder="0"></iframe>
     </div>
   </div>
 </template>