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

11

parent 8bdedc5d
......@@ -17,7 +17,7 @@
<el-input
v-model="loginForm.phone"
placeholder="请输入手机号"
maxlength="20"
maxlength="11"
></el-input>
</el-form-item>
<el-form-item prop="password">
......
......@@ -15,7 +15,7 @@
<el-input
v-model="registerForm.phone"
placeholder="请输入手机号"
maxlength="20"
maxlength="11"
autocomplete="off"
></el-input>
</el-form-item>
......@@ -24,7 +24,7 @@
<el-input
v-model="registerForm.email"
placeholder="请输入邮箱"
maxlength="20"
autocomplete="off"
></el-input>
</el-form-item>
......@@ -49,7 +49,7 @@
<el-input
v-model="registerForm.code"
placeholder="请输入邮箱注册验证码"
maxlength="20"
maxlength="6"
autocomplete="off"
></el-input>
<!-- 短信验证码 -->
......@@ -265,6 +265,7 @@ export default {
// }
// 接口获得验证码
registerEmailCode({
email: this.registerForm.email,
}).then((res) => {
console.log(res, "passwordCode");
......
......@@ -15,7 +15,7 @@
<el-input
v-model="resetForm.phone"
placeholder="请输入手机号"
maxlength="20"
maxlength="11"
autocomplete="off"
></el-input>
</el-form-item>
......@@ -24,7 +24,6 @@
<el-input
v-model="resetForm.email"
placeholder="请输入邮箱"
maxlength="20"
autocomplete="off"
></el-input>
</el-form-item>
......@@ -49,7 +48,7 @@
<el-input
v-model="resetForm.code"
placeholder="请输入邮箱验证码"
maxlength="20"
maxlength="6"
autocomplete="off"
></el-input>
<!-- 短信验证码 -->
......@@ -259,6 +258,7 @@ export default {
// }
// 接口获得验证码
passwordEmailCode({
phone: this.resetForm.phone,
email: this.resetForm.email,
}).then((res) => {
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