Commit 283e3210 authored by chenqikuai's avatar chenqikuai

fix

parent b7170d35
...@@ -65,6 +65,7 @@ ...@@ -65,6 +65,7 @@
<a-form-model-item prop="phoneNumber"> <a-form-model-item prop="phoneNumber">
<a-input <a-input
placeholder="请输入手机号" placeholder="请输入手机号"
:maxLength="11"
v-model="loginBySmsForm.phoneNumber" v-model="loginBySmsForm.phoneNumber"
> >
<a-icon slot="prefix" type="phone" /> <a-icon slot="prefix" type="phone" />
...@@ -244,7 +245,7 @@ export default Vue.extend({ ...@@ -244,7 +245,7 @@ export default Vue.extend({
name: "home", name: "home",
}); });
} else { } else {
message.warn(ret.msg); // message.warn(ret.msg);
} }
}, },
async loginByPwdFunc(name: string, pwd: string) { async loginByPwdFunc(name: string, pwd: string) {
......
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