Browse Source

清空默认手机号

Xiao_123 11 months ago
parent
commit
1abcb9cee4

+ 2 - 2
src/components/VerificationCode/index.vue

@@ -116,8 +116,8 @@ const autoTimer = () => {
 autoTimer()
 autoTimer()
 const loginUserPhone = localStorage.getItem('loginUserPhone') || ''
 const loginUserPhone = localStorage.getItem('loginUserPhone') || ''
 const loginData = reactive({
 const loginData = reactive({
-  phone: loginUserPhone || '13229740091',
-  code: '123456'
+  phone: loginUserPhone, // 13229740091
+  code: '' // 123456
 })
 })
 
 
 const phoneForm = ref()
 const phoneForm = ref()

+ 2 - 2
src/views/login/components/passwordPage.vue

@@ -65,8 +65,8 @@ const handleChangeCurrentArea = (e) => {
 
 
 const loginUserPhone = localStorage.getItem('loginUserPhone') || ''
 const loginUserPhone = localStorage.getItem('loginUserPhone') || ''
 const loginData = reactive({
 const loginData = reactive({
-  phone: loginUserPhone || '13229740091',
-  password: '1111'
+  phone: loginUserPhone, // 13229740091
+  password: '' // 1111
 })
 })
 
 
 const passwordForm = ref()
 const passwordForm = ref()