陈少旭 3 months ago
parent
commit
ce2f1aa050
1 changed files with 2 additions and 2 deletions
  1. 2 2
      config/index.js

+ 2 - 2
config/index.js View File

24
     assetsPublicPath: '/',
24
     assetsPublicPath: '/',
25
     proxyTable: {
25
     proxyTable: {
26
       '/api': {
26
       '/api': {
27
-        target: 'http://localhost:9788',//设置你调用的接口域名和端口号 别忘了加http 正式
27
+        target: 'http://sf.sgjyun.com',//设置你调用的接口域名和端口号 别忘了加http 正式
28
         // target: 'http://hf.szjkhd.com',//设置你调用的接口域名和端口号 别忘了加http 测试
28
         // target: 'http://hf.szjkhd.com',//设置你调用的接口域名和端口号 别忘了加http 测试
29
         changeOrigin: true,//设置true 代表跨域访问
29
         changeOrigin: true,//设置true 代表跨域访问
30
         secure: false,  // 如果是https接口,需要配置这个参数
30
         secure: false,  // 如果是https接口,需要配置这个参数
34
       }
34
       }
35
     }
35
     }
36
   }
36
   }
37
-}
37
+}