Fix/views login (#2789)

* fix(table): 使用lodash 的merge来递归assign,优化在多对象嵌套情况下的结构

* fix(view): 修复登入页面点击其他登入方式后返回时视图异常的bug
This commit is contained in:
HUCHAOQI 2023-05-22 10:10:37 +08:00 committed by GitHub
parent 34237ef033
commit e154d1366c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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">
@ -28,7 +28,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
@ -12,7 +12,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">
@ -63,7 +63,7 @@
{{ t('sys.login.backSignIn') }}
</Button>
</Form>
</template>
</div>
</template>
<script lang="ts" setup>
import { reactive, ref, unref, computed } from 'vue';