แก้ปี ไม่ถูกเก็บมาใช้งาน
This commit is contained in:
parent
a0705296b9
commit
c7db0943b9
1 changed files with 2 additions and 2 deletions
|
|
@ -567,8 +567,8 @@ function editForm(row: any) {
|
|||
educationData.durationYear = row.durationYear;
|
||||
educationData.note = row.note;
|
||||
educationData.startYear =
|
||||
row.isDate == "true" ? row.startDate.slice(0, 4) : "";
|
||||
educationData.endYear = row.isDate == "true" ? row.endDate.slice(0, 4) : "";
|
||||
row.isDate == "true" ? row.startDate.slice(0, 4) : new Date(row.startDate).getFullYear();
|
||||
educationData.endYear = row.isDate == "true" ? row.endDate.slice(0, 4) : new Date(row.endDate).getFullYear();;
|
||||
dialog.value = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue