diff --git a/client/dist/index.html b/client/dist/index.html index 5d4ee50..b61a847 100644 --- a/client/dist/index.html +++ b/client/dist/index.html @@ -1 +1 @@ -vue Admin Template
\ No newline at end of file +vue Admin Template
\ No newline at end of file diff --git a/client/src/views/exam/testPaperCreate.vue b/client/src/views/exam/testPaperCreate.vue index 3ae97b5..f38cf8d 100644 --- a/client/src/views/exam/testPaperCreate.vue +++ b/client/src/views/exam/testPaperCreate.vue @@ -141,8 +141,7 @@ handleUpSuccess(res, file, filelist) { let that =this; if (res.code == 201){ - // this.impForm.file = res.data.path; - that.impForm.doc_path = "C:\\code\\data\\test.docx"; + that.impForm.doc_path = res.data.path; console.log(that.impForm) UploadPaper(that.impForm).then(res => { if (res.code == 200) { diff --git a/client/src/views/exam/testPaperUpdate.vue b/client/src/views/exam/testPaperUpdate.vue index 9d47e2c..d56da39 100644 --- a/client/src/views/exam/testPaperUpdate.vue +++ b/client/src/views/exam/testPaperUpdate.vue @@ -134,7 +134,6 @@ this.submitLoding = true; updatePaper(this.Form.id,this.Form).then(response => { this.submitLoding = false; - this.$forceUpdate(); this.$message({ type: "success", message: "编辑成功!"