'admin-21.10.31:优化login界面组件name值重复问题'
This commit is contained in:
parent
e3aa4d4816
commit
cc7520976e
@ -68,7 +68,7 @@ import { useStore } from '/@/store/index';
|
|||||||
import { Session } from '/@/utils/storage';
|
import { Session } from '/@/utils/storage';
|
||||||
import { formatAxis } from '/@/utils/formatTime';
|
import { formatAxis } from '/@/utils/formatTime';
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'login',
|
name: 'loginAccount',
|
||||||
setup() {
|
setup() {
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const { proxy } = getCurrentInstance() as any;
|
const { proxy } = getCurrentInstance() as any;
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { toRefs, reactive, defineComponent } from 'vue';
|
import { toRefs, reactive, defineComponent } from 'vue';
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'login',
|
name: 'loginMobile',
|
||||||
setup() {
|
setup() {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
ruleForm: {
|
ruleForm: {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
import { toRefs, reactive, defineComponent, onMounted, getCurrentInstance } from 'vue';
|
import { toRefs, reactive, defineComponent, onMounted, getCurrentInstance } from 'vue';
|
||||||
import QRCode from 'qrcodejs2-fixes';
|
import QRCode from 'qrcodejs2-fixes';
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'login11',
|
name: 'loginScan',
|
||||||
setup() {
|
setup() {
|
||||||
const { proxy } = getCurrentInstance() as any;
|
const { proxy } = getCurrentInstance() as any;
|
||||||
const state = reactive({});
|
const state = reactive({});
|
||||||
|
@ -45,7 +45,7 @@ import Mobile from '/@/views/login/component/mobile.vue';
|
|||||||
import Scan from '/@/views/login/component/scan.vue';
|
import Scan from '/@/views/login/component/scan.vue';
|
||||||
import { useStore } from '/@/store/index';
|
import { useStore } from '/@/store/index';
|
||||||
export default {
|
export default {
|
||||||
name: 'login',
|
name: 'loginIndex',
|
||||||
components: { Account, Mobile, Scan },
|
components: { Account, Mobile, Scan },
|
||||||
setup() {
|
setup() {
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
|
Loading…
Reference in New Issue
Block a user