This commit is contained in:
cansnow
2026-01-09 09:15:59 +08:00
parent 78386d4cc1
commit 7913a63a39
51 changed files with 1048 additions and 449 deletions
+3 -3
View File
@@ -55,16 +55,15 @@
return this.$store.getters.storeSelfInfo;
},
getGender() {
if (this.selfInfo.sex === 0) {
if (this.selfInfo.sex == 0) {
return "保密";
}
if (this.selfInfo.sex === 1) {
if (this.selfInfo.sex == 1) {
return "男";
}
return "女";
},
getBirth() {
console.log(this.selfInfo);
const birth = this.selfInfo.birthday ?? 0;
return dayjs(birth).format("YYYY-MM-DD");
},
@@ -153,6 +152,7 @@
},
confirmDate({value}) {
this.loadingState.birth = true;
console.log(this.$store.getters.storeSelfInfo.faceURL);
this.updateSelfInfo({birth: value,},"birth",);
this.showDatePicker = false;
},