xiatian 3 年之前
父節點
當前提交
12568cc981
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/modules/questions/views/ImportPaper.vue

+ 4 - 4
src/modules/questions/views/ImportPaper.vue

@@ -660,10 +660,10 @@ export default {
               QUESTION_API +
                 "/clonePaper/" +
                 this.copyPaperId +
-                "/" +
-                this.copyPaperForm.paperName +
-                "/" +
-                this.copyPaperForm.courseNo
+                "?paperName=" +
+                encodeURIComponent(this.copyPaperForm.paperName) +
+                "&courseNo=" +
+                encodeURIComponent(this.copyPaperForm.courseNo)
             )
             .then(() => {
               this.$notify({