mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-20 18:05:53 +08:00
优化代码
This commit is contained in:
@@ -467,8 +467,8 @@ export default {
|
||||
handleSubmitModal() {
|
||||
const { nickName, sex, username, face, newPassword,id } = this.form;
|
||||
let time = new Date(this.form.birthday);
|
||||
let birthday =
|
||||
time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate();
|
||||
let birthday = time ?
|
||||
time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate() : '';
|
||||
let submit = {
|
||||
regionId: this.form.regionId,
|
||||
region: this.form.region,
|
||||
|
||||
Reference in New Issue
Block a user