Commit e9a0337c authored by xinzhedeai's avatar xinzhedeai

fix:消费者提交刷新延时取消

parent 0f1dd581
...@@ -91,7 +91,6 @@ window.addEventListener("load", function () { ...@@ -91,7 +91,6 @@ window.addEventListener("load", function () {
// 文件上传处理 // 文件上传处理
handleFileUpload(file) { handleFileUpload(file) {
console.log('上传文件:', file); console.log('上传文件:', file);
// 此处可添加实际文件上传逻辑 // 此处可添加实际文件上传逻辑
}, },
...@@ -131,10 +130,19 @@ window.addEventListener("load", function () { ...@@ -131,10 +130,19 @@ window.addEventListener("load", function () {
vant.Toast({ vant.Toast({
message: '操作成功', message: '操作成功',
}) })
setTimeout(() => { // this.formData = {
location.reload() // submitDate: gemhoUtil.getTargetDateYMD(),
}, 500) // createDate: gemhoUtil.getTargetDateYMD(),
// phone: '',
// area: '',
// businessHours: '',
// type: '', // 新增类型字段
// content: '',
// photos: [],
// contactName: '',
// contactDetails: '',
// },
location.reload()
// gemhoUtil.navigatePage(`${this.pageName}.html${window.location.search}`, '操作完成,跳转中...') // gemhoUtil.navigatePage(`${this.pageName}.html${window.location.search}`, '操作完成,跳转中...')
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment