fix(view): 修复登入页面点击其他登入方式后返回时视图异常的bug

pull/20/head
xingyu 2023-05-22 11:29:34 +08:00
parent f780285364
commit 0657ea5f83
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<template>
<template v-if="getShow">
<div v-if="getShow">
<LoginFormTitle class="enter-x" />
<Form class="p-4 enter-x" :model="formData" :rules="getFormRules" ref="formRef">
<FormItem name="mobile" class="enter-x">
@ -18,7 +18,7 @@
</Button>
</FormItem>
</Form>
</template>
</div>
</template>
<script lang="ts" setup>
import { reactive, ref, computed, unref } from 'vue'

View File

@ -1,5 +1,5 @@
<template>
<template v-if="getShow">
<div v-if="getShow">
<LoginFormTitle class="enter-x" />
<div class="enter-x min-w-64 min-h-64">
<QrCode :value="qrCodeUrl" class="enter-x flex justify-center xl:justify-start" :width="280" />
@ -8,7 +8,7 @@
{{ t('sys.login.backSignIn') }}
</Button>
</div>
</template>
</div>
</template>
<script lang="ts" setup>
import { computed, unref } from 'vue'

View File

@ -1,5 +1,5 @@
<template>
<template v-if="getShow">
<div v-if="getShow">
<LoginFormTitle class="enter-x" />
<Form class="p-4 enter-x" :model="formData" :rules="getFormRules" ref="formRef">
<FormItem name="account" class="enter-x">
@ -37,7 +37,7 @@
{{ t('sys.login.backSignIn') }}
</Button>
</Form>
</template>
</div>
</template>
<script lang="ts" setup>
import { reactive, ref, unref, computed } from 'vue'