wanyongkang 6 år sedan
förälder
incheckning
295e85dac4
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      pages/salary/_id.vue
  2. 1 1
      pages/salary/index.vue

+ 1 - 1
pages/salary/_id.vue

@@ -132,7 +132,7 @@ export default {
       const path = req.url
       const cityJob = path.split('/')[2]
       const city = cityJob.split('-')[0]
-      const job = cityJob.split('-')[1].replace('c%23', 'c#').replace('c%24', 'c++')
+      const job = cityJob.split('-')[1].replace('c%23', 'c#')
       let params = {
         job: job,
         city: city

+ 1 - 1
pages/salary/index.vue

@@ -273,7 +273,7 @@ export default {
       // this.$router.push(
       //   "/salary/detail?job=" + this.searchJob + "&city=" + this.searchCity
       // );
-      window.location.href = `/salary/${this.searchCity}-${this.searchJob}/`.replace('c#', 'c%23').replace('c++', 'c%24');
+      window.location.href = `/salary/${this.searchCity}-${this.searchJob}/`.replace('c#', 'c%23');
     },
     inVal(val) {
       this.searchJob = val;