Commit 31781636 authored by xhx's avatar xhx

Merge branch 'dev' of https://gitlab.33.cn/CassiniatSaturn/fns_backend into dev

parents 1785f837 6b83311f
...@@ -10,7 +10,7 @@ export default { ...@@ -10,7 +10,7 @@ export default {
formatDate(timeStamp: number) { formatDate(timeStamp: number) {
const commonLen = new Date().getTime().toString().length const commonLen = new Date().getTime().toString().length
if (timeStamp.toString().length === commonLen) { if (timeStamp.toString().length === commonLen) {
return moment(timeStamp).format('YYYY-MM-DD hh:mm') // September 14th 2021, 3:22:23 pm return moment(timeStamp).format('YYYY-MM-DD HH:mm') // September 14th 2021, 3:22:23 pm
} else { } else {
return '' return ''
} }
......
...@@ -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