yuwandanmian 1 سال پیش
والد
کامیت
76a5b0c42e
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      src/views/middleCaseControl/components/ProblemTableBox.vue
  2. 1 1
      vue.config.js

+ 1 - 1
src/views/middleCaseControl/components/ProblemTableBox.vue

@@ -41,7 +41,7 @@ export default {
   },
   },
   methods: {
   methods: {
     toPage(row) {
     toPage(row) {
-      this.$router.push({ path: '/defectNumber', query: { rule_id: row.key }})
+      this.$router.push({ path: '/middleDefectNumber', query: { rule_id: row.key }})
     }
     }
   }
   }
 }
 }

+ 1 - 1
vue.config.js

@@ -39,7 +39,7 @@ module.exports = {
       errors: true,
       errors: true,
     },
     },
     proxy: {
     proxy: {
-      [context]: {
+      '/api': {
         target: 'http://182.43.50.128:8081/',
         target: 'http://182.43.50.128:8081/',
         // target: 'http://qualityweb.jiankangche.cn:8081/',
         // target: 'http://qualityweb.jiankangche.cn:8081/',
         ws: true,
         ws: true,