BUG 28221
This commit is contained in:
@@ -386,10 +386,10 @@ export default {
|
||||
this.formData[fieldDbName] = `${e.year}-${e.month}-${e.day}`
|
||||
}
|
||||
if (this.formDataList[this.datePropIndex][this.dateIndex].type == 'datetime') { //年月日时分秒
|
||||
this.formData[fieldDbName] = `${e.year}-${e.month}-${e.day} ${e.hour}-${e.minute}-${e.second}`
|
||||
this.formData[fieldDbName] = `${e.year}-${e.month}-${e.day} ${e.hour}:${e.minute}:${e.second}`
|
||||
}
|
||||
if (this.formDataList[this.datePropIndex][this.dateIndex].type == 'time') { //时分秒
|
||||
this.formData[fieldDbName] = `${e.hour}-${e.minute}-${e.second}`
|
||||
this.formData[fieldDbName] = `${e.hour}:${e.minute}:${e.second}`
|
||||
}
|
||||
},
|
||||
submit() {
|
||||
|
||||
Reference in New Issue
Block a user