|
@@ -75,7 +75,7 @@ import { userStore } from '@/store/user'
|
|
|
|
|
|
const useUserStore = userStore()
|
|
|
const items = ['短信登录', '账号登录']
|
|
|
-const current = ref(1)
|
|
|
+const current = ref(0)
|
|
|
const accountLoginRef = ref()
|
|
|
const smsLoginRef = ref()
|
|
|
const protocol = ref(false)
|
|
@@ -83,12 +83,12 @@ const state = ref({
|
|
|
isMobileEnd: false, // 手机号输入完毕
|
|
|
codeText: '获取验证码',
|
|
|
sms: {
|
|
|
- phone: '13229740092',
|
|
|
+ phone: '',
|
|
|
code: ''
|
|
|
},
|
|
|
account: {
|
|
|
- phone: '13229740092',
|
|
|
- password: 'Citu123456'
|
|
|
+ phone: '',
|
|
|
+ password: ''
|
|
|
},
|
|
|
rules: {
|
|
|
phone: mobile,
|