瀏覽代碼

playwright自动加测试

lifanagju_citu 1 月之前
父節點
當前提交
cb8243a059
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      src/views/login/index.vue

+ 6 - 2
src/views/login/index.vue

@@ -69,8 +69,12 @@
             {{ $t('login.login') }}
           </v-btn>
           <div class="login-tips mt-3" v-if="tab !== 3">
-              <v-icon v-if="isAgree" size="25" color="primary" class="mr-1" @click="isAgree = !isAgree">mdi-check-circle</v-icon>
-              <v-icon v-else size="25" color="grey" class="mr-1" @click="isAgree = !isAgree">mdi-circle-outline</v-icon>
+            <v-icon v-if="isAgree" size="25" color="primary" class="mr-1" @click="isAgree = !isAgree">mdi-check-circle</v-icon>
+            <div v-else id="playwright_agreeCheckBox" @click="isAgree = !isAgree">
+              <v-icon size="25" color="grey" class="mr-1">mdi-circle-outline</v-icon>
+            </div>
+              <!-- <v-icon v-if="isAgree" id="agreeIcon" size="25" color="primary" class="mr-1" @click="isAgree = !isAgree">mdi-check-circle</v-icon>
+              <v-icon v-else id="agreeIcon1" size="25" color="grey" class="mr-1" @click="isAgree = !isAgree">mdi-circle-outline</v-icon> -->
               {{ $t('login.agreeLogin') }}
               <span class="color" style="cursor: pointer;" @click="windowOpen('/userAgreement')"> [{{ $t('login.userAgreement') }}] </span>和
               <span class="color" style="cursor: pointer;" @click="windowOpen('/privacyPolicy')">[{{ $t('login.privacyPolicy') }}]</span>