xiatian 3 years ago
parent
commit
12568cc981
1 changed files with 4 additions and 4 deletions
  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 +
               QUESTION_API +
                 "/clonePaper/" +
                 "/clonePaper/" +
                 this.copyPaperId +
                 this.copyPaperId +
-                "/" +
-                this.copyPaperForm.paperName +
-                "/" +
-                this.copyPaperForm.courseNo
+                "?paperName=" +
+                encodeURIComponent(this.copyPaperForm.paperName) +
+                "&courseNo=" +
+                encodeURIComponent(this.copyPaperForm.courseNo)
             )
             )
             .then(() => {
             .then(() => {
               this.$notify({
               this.$notify({