This commit is contained in:
Paidax
2024-09-12 14:29:44 +08:00
parent 118f5d7d63
commit 706e80e0c6
2 changed files with 17 additions and 6 deletions
@@ -138,6 +138,10 @@ layout("/layouts/platform.html"){
}
},
doEdit() {
if (this.formData.applyTime && this.formData.applyTime.length > 0) {
this.formData.startTime = this.formData.applyTime[0]
this.formData.endTime = this.formData.applyTime[1]
}
$.post(loc() + "/doEdit", {kh_zb: JSON.stringify(this.formData)}, (res) => {
const {code, data, msg} = res
if (code == 0) {