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 {
formatDate(timeStamp: number) {
const commonLen = new Date().getTime().toString().length
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 {
return ''
}
......
......@@ -65,6 +65,7 @@
<a-form-model-item prop="phoneNumber">
<a-input
placeholder="请输入手机号"
:maxLength="11"
v-model="loginBySmsForm.phoneNumber"
>
<a-icon slot="prefix" type="phone" />
......@@ -244,7 +245,7 @@ export default Vue.extend({
name: "home",
});
} else {
message.warn(ret.msg);
// message.warn(ret.msg);
}
},
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