Commit e7ba4aa3 authored by chenqikuai's avatar chenqikuai

fix: 修复点击重复认证后无法转跳到认证页面的bug

parent 6fb10dd2
...@@ -15,13 +15,14 @@ ...@@ -15,13 +15,14 @@
</div> </div>
<!-- 失败和未验证 --> <!-- 失败和未验证 -->
<div v-if="authInfo.status !== 1 && authInfo.status !== 2"> <div v-if="authInfo.status !== 1 && authInfo.status !== 2">
<!-- 3是失败 -->
<audit-failure <audit-failure
v-if="mark === 'showFailed'" v-if="mark === 'showFailed'"
@re-audit="reAuditHandler" @re-audit="reAuditHandler"
:message="authInfo.message" :message="authInfo.message"
></audit-failure> ></audit-failure>
<!-- 4是未验证 -->
<div v-if="mark === 'showValidate'"> <div v-if="mark === 'showValidate'">
<div v-if="![1, 2, 3].includes(authInfo.status)">
<div v-if="authMethod === EAuthMethod.FOURFACTOURS"> <div v-if="authMethod === EAuthMethod.FOURFACTOURS">
<four-factours /> <four-factours />
</div> </div>
...@@ -124,7 +125,6 @@ ...@@ -124,7 +125,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</template> </template>
<script lang="ts"> <script lang="ts">
import { Component, Prop, Vue, Watch } from 'vue-property-decorator'; import { Component, Prop, Vue, Watch } from 'vue-property-decorator';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment