From 8f8b771c8f6ccbe1a2589894d5744ece2a0c5749 Mon Sep 17 00:00:00 2001 From: zty Date: Thu, 30 May 2024 14:05:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=94=9F=E6=88=90=E8=80=83=E8=AF=95?= =?UTF-8?q?=E8=AF=95=E5=8D=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/dist/index.html | 2 +- client/src/views/exam/testPaperCreate.vue | 3 +-- client/src/views/exam/testPaperUpdate.vue | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) 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: "编辑成功!"