更新代码

This commit is contained in:
xiao-fajia 2024-09-26 10:43:07 +08:00
parent 47bda569f7
commit ab3798aef2

View File

@ -237,7 +237,7 @@
this.chooseDate = date.date this.chooseDate = date.date
}, },
submit() { submit() {
this.formData.bookingTime = (new Date().getFullYear() + "-" + this.chooseDate + " " + this.chooseTime + ":00") this.formData.bookingTime = new Date((new Date().getFullYear() + "-" + this.chooseDate + " " + this.chooseTime + ":00")).getTime()
request({ request({
url: "/userClient/repair/booking/update", url: "/userClient/repair/booking/update",
method: "post", method: "post",