浏览代码

清空默认手机号

Xiao_123 11 月之前
父节点
当前提交
1abcb9cee4
共有 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

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

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

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