diff --git a/src/project/fd/AppAnswer/answerAdd.vue b/src/project/fd/AppAnswer/answerAdd.vue index e847429f..cc78f6f6 100644 --- a/src/project/fd/AppAnswer/answerAdd.vue +++ b/src/project/fd/AppAnswer/answerAdd.vue @@ -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)