loading
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user