This commit is contained in:
shijingjing
2023-01-11 14:48:37 +08:00
parent c34031aeb9
commit d13d799c7f

View File

@@ -39,11 +39,13 @@ export default {
return this.$u.toast('请输入回答内容')
}
this.flag = true
this.$loading()
this.$http.post(`/app/applearningquestion/addOrUpdateAnswer`, {
...this.form
}).then(res=> {
if(res?.code==0) {
this.$u.toast('提交成功!')
uni.$emit('update')
setTimeout(()=> {
uni.navigateBack()
}, 500)