浏览代码

默认手机号

Xiao_123 11 月之前
父节点
当前提交
b767dc13ef
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      src/components/VerificationCode/index.vue
  2. 2 2
      src/views/login/components/passwordPage.vue

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

@@ -114,10 +114,10 @@ const autoTimer = () => {
   setTime()
 }
 autoTimer()
-const loginUserPhone = localStorage.getItem('loginUserPhone') || ''
+const loginUserPhone = localStorage.getItem('loginUserPhone') || '13229740091'
 const loginData = reactive({
   phone: loginUserPhone, // 13229740091小梅 // 15775026250 瑞森
-  code: '' // 123456
+  code: '123456'
 })
 
 const phoneForm = ref()

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

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