Commit 96e229bc authored by 杨梦雪's avatar 杨梦雪

11

parent 8bdedc5d
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<el-input <el-input
v-model="loginForm.phone" v-model="loginForm.phone"
placeholder="请输入手机号" placeholder="请输入手机号"
maxlength="20" maxlength="11"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="password"> <el-form-item prop="password">
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<el-input <el-input
v-model="registerForm.phone" v-model="registerForm.phone"
placeholder="请输入手机号" placeholder="请输入手机号"
maxlength="20" maxlength="11"
autocomplete="off" autocomplete="off"
></el-input> ></el-input>
</el-form-item> </el-form-item>
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<el-input <el-input
v-model="registerForm.email" v-model="registerForm.email"
placeholder="请输入邮箱" placeholder="请输入邮箱"
maxlength="20"
autocomplete="off" autocomplete="off"
></el-input> ></el-input>
</el-form-item> </el-form-item>
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<el-input <el-input
v-model="registerForm.code" v-model="registerForm.code"
placeholder="请输入邮箱注册验证码" placeholder="请输入邮箱注册验证码"
maxlength="20" maxlength="6"
autocomplete="off" autocomplete="off"
></el-input> ></el-input>
<!-- 短信验证码 --> <!-- 短信验证码 -->
...@@ -265,6 +265,7 @@ export default { ...@@ -265,6 +265,7 @@ export default {
// } // }
// 接口获得验证码 // 接口获得验证码
registerEmailCode({ registerEmailCode({
email: this.registerForm.email, email: this.registerForm.email,
}).then((res) => { }).then((res) => {
console.log(res, "passwordCode"); console.log(res, "passwordCode");
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<el-input <el-input
v-model="resetForm.phone" v-model="resetForm.phone"
placeholder="请输入手机号" placeholder="请输入手机号"
maxlength="20" maxlength="11"
autocomplete="off" autocomplete="off"
></el-input> ></el-input>
</el-form-item> </el-form-item>
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
<el-input <el-input
v-model="resetForm.email" v-model="resetForm.email"
placeholder="请输入邮箱" placeholder="请输入邮箱"
maxlength="20"
autocomplete="off" autocomplete="off"
></el-input> ></el-input>
</el-form-item> </el-form-item>
...@@ -49,7 +48,7 @@ ...@@ -49,7 +48,7 @@
<el-input <el-input
v-model="resetForm.code" v-model="resetForm.code"
placeholder="请输入邮箱验证码" placeholder="请输入邮箱验证码"
maxlength="20" maxlength="6"
autocomplete="off" autocomplete="off"
></el-input> ></el-input>
<!-- 短信验证码 --> <!-- 短信验证码 -->
...@@ -259,6 +258,7 @@ export default { ...@@ -259,6 +258,7 @@ export default {
// } // }
// 接口获得验证码 // 接口获得验证码
passwordEmailCode({ passwordEmailCode({
phone: this.resetForm.phone,
email: this.resetForm.email, email: this.resetForm.email,
}).then((res) => { }).then((res) => {
console.log(res, "passwordCode"); console.log(res, "passwordCode");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment