xiatian 4 년 전
부모
커밋
9cdca8e308
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      src/modules/marking/views/MarkSettingFast.vue
  2. 3 3
      src/modules/marking/views/MarkSettingMain.vue

+ 1 - 1
src/modules/marking/views/MarkSettingFast.vue

@@ -294,7 +294,7 @@ export default {
           "/marking/mark_setting_main/" +
           this.$route.params.workId +
           "/" +
-          this.$route.params.name,
+          encodeURIComponent(this.$route.params.name),
       });
     },
     isOldSelectedMarker(marker) {

+ 3 - 3
src/modules/marking/views/MarkSettingMain.vue

@@ -382,11 +382,11 @@ export default {
         "/marking/mark_setting_fast/" +
         this.$route.params.workId +
         "/" +
-        this.$route.params.name +
+        encodeURIComponent(this.$route.params.name) +
         "/" +
-        row.code +
+        encodeURIComponent(row.code) +
         "/" +
-        row.name;
+        encodeURIComponent(row.name);
       this.$router.push({
         path: url,
       });