'admin-21.10.31:优化login界面组件name值重复问题'

This commit is contained in:
lyt 2021-10-31 22:49:53 +08:00
parent e3aa4d4816
commit cc7520976e
4 changed files with 4 additions and 4 deletions

View File

@ -68,7 +68,7 @@ import { useStore } from '/@/store/index';
import { Session } from '/@/utils/storage';
import { formatAxis } from '/@/utils/formatTime';
export default defineComponent({
name: 'login',
name: 'loginAccount',
setup() {
const { t } = useI18n();
const { proxy } = getCurrentInstance() as any;

View File

@ -40,7 +40,7 @@
<script lang="ts">
import { toRefs, reactive, defineComponent } from 'vue';
export default defineComponent({
name: 'login',
name: 'loginMobile',
setup() {
const state = reactive({
ruleForm: {

View File

@ -8,7 +8,7 @@
import { toRefs, reactive, defineComponent, onMounted, getCurrentInstance } from 'vue';
import QRCode from 'qrcodejs2-fixes';
export default defineComponent({
name: 'login11',
name: 'loginScan',
setup() {
const { proxy } = getCurrentInstance() as any;
const state = reactive({});

View File

@ -45,7 +45,7 @@ import Mobile from '/@/views/login/component/mobile.vue';
import Scan from '/@/views/login/component/scan.vue';
import { useStore } from '/@/store/index';
export default {
name: 'login',
name: 'loginIndex',
components: { Account, Mobile, Scan },
setup() {
const store = useStore();