diff --git a/components/course-homework/course-homework.vue b/components/course-homework/course-homework.vue index ab05ed8..3d27a9a 100644 --- a/components/course-homework/course-homework.vue +++ b/components/course-homework/course-homework.vue @@ -177,6 +177,7 @@ //this.$refs.messager.show({message:'作业已提交',type:'success'}) uni.showToast({title:'提交成功',type:'success'}) this.filePath=''; + this.fileList=[]; this.answer=''; this.records=[res.result]; this.$emit("submit", this.content);