695593266@qq.com пре 5 месеци
родитељ
комит
30cf147a73
2 измењених фајлова са 3 додато и 3 уклоњено
  1. 1 1
      src/views/workOrderList/components/details/index.vue
  2. 2 2
      vue.config.js

+ 1 - 1
src/views/workOrderList/components/details/index.vue

@@ -159,7 +159,7 @@
 
 
           // 使用findIndex方法查找
           // 使用findIndex方法查找
           const index = this.routeList.findIndex(
           const index = this.routeList.findIndex(
-            (item) => Number(item.taskId) == Number(this.workOrderInfo.taskId)
+            (item) => item.taskId == this.workOrderInfo.taskId
           );
           );
 
 
           this.desIndex = index;
           this.desIndex = index;

+ 2 - 2
vue.config.js

@@ -32,9 +32,9 @@ module.exports = {
       // 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
       // 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
       '/api': {
       '/api': {
         // target: 'http://124.71.68.31:50001',
         // target: 'http://124.71.68.31:50001',
-        // target: 'http://192.168.1.125:18086',
+        target: 'http://192.168.1.125:18086',
         // target: 'http://192.168.1.251:18086',
         // target: 'http://192.168.1.251:18086',
-        target: 'http://192.168.1.251:18186',
+        // target: 'http://192.168.1.251:18186',
         // target: 'http://192.168.1.251:18086', // 开发环境
         // target: 'http://192.168.1.251:18086', // 开发环境
         // target: 'http://192.168.1.103:18086',192.168.1.116
         // target: 'http://192.168.1.103:18086',192.168.1.116
         // target: 'http://192.168.1.144:18086',
         // target: 'http://192.168.1.144:18086',