|
|
@@ -2,7 +2,7 @@
|
|
|
* @Author: mlchen 374826075@qq.com
|
|
|
* @Date: 2026-07-22 15:43:30
|
|
|
* @LastEditors: mlchen 374826075@qq.com
|
|
|
- * @LastEditTime: 2026-11-19 17:00:39
|
|
|
+ * @LastEditTime: 2026-11-20 14:28:23
|
|
|
* @FilePath: /kd-aiot-frontend-eom/vue.config.js
|
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
*/
|
|
|
@@ -61,12 +61,12 @@ module.exports = {
|
|
|
// 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
|
|
|
'/api': {
|
|
|
// target: 'http://192.168.1.251:18086', //开发
|
|
|
- // target: 'http://localhost:18086', //开发 // 本地联调临时指向本机后端(2026-11-05,联调后还原)
|
|
|
+ target: 'http://localhost:18086', //开发 // 本地联调临时指向本机后端(2026-11-05,联调后还原)
|
|
|
// target: 'http://192.168.1.251:18186', //测试
|
|
|
// target: 'http://192.168.1.15:18086',//罗
|
|
|
// target: 'http://192.168.1.144:18086',//付
|
|
|
// target: 'http://192.168.1.9:18086', //c
|
|
|
- target: 'https://aiot.zoomwin.com.cn:51001/api',
|
|
|
+ // target: 'https://aiot.zoomwin.com.cn:51001/api',
|
|
|
changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
|
|
|
pathRewrite: {
|
|
|
'^/api': ''
|