This commit is contained in:
liuye
2022-11-30 17:54:32 +08:00

View File

@@ -52,7 +52,7 @@ export default {
})
},
submit() {
if(this.flag) return
if(this.flag) return
if(!this.form.applyItem) {
return this.$u.toast('请输入申请事项')
@@ -67,15 +67,15 @@ export default {
}
this.flag = true
this.$http.post(`/app/appintegralmemberapply/addOrUpdate`,{...this.form}).then(res=> {
if(res.code == 0) {
this.flag = false
this.$u.toast('提交成功')
setTimeout(() => {
uni.navigateBack()
}, 600)
}, 400)
}
}).catch(err=> {
this.$u.toast(err.message)
})
}
}