From d13d799c7f0a0933224d208a6e6f41cb4ffd6aac Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 11 Jan 2023 14:48:37 +0800 Subject: [PATCH] loading --- src/project/fd/AppAnswer/answerAdd.vue | 2 ++ 1 file changed, 2 insertions(+) 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)