xiatian hace 4 años
padre
commit
9cdca8e308

+ 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,
       });