소스 검색

删除默认登录手机号密码等

Xiao_123 7 달 전
부모
커밋
963f188e5a
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      layout/components/authModal/login/index.vue

+ 4 - 4
layout/components/authModal/login/index.vue

@@ -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,