gaoshp
2024-11-03 f31c7a9831b97fbeaf984005718c7b30724f7562
update
已修改2个文件
26 ■■■■ 文件已修改
.env.development 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.development
@@ -1,8 +1,8 @@
###
 # @Date: 2024-03-23 09:49:06
 # @LastEditors: lzhe lzhe@example.com
 # @LastEditTime: 2024-10-06 21:10:14
 # @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/.env.development
 # @LastEditors: gaoshp
 # @LastEditTime: 2024-11-03 19:14:27
 # @FilePath: /cps-web/.env.development
### 
# 本地环境
NODE_ENV = development
@@ -11,7 +11,7 @@
VUE_APP_TITLE = 制造信息管理系统
# 接口地址
VUE_APP_API_BASEURL =  http://120.46.212.231:85
VUE_APP_API_BASEURL =  http://120.46.212.231:86
# 本地端口
VUE_APP_PORT = 2800
vue.config.js
@@ -1,7 +1,7 @@
/*
 * @Date: 2024-03-23 09:49:06
 * @LastEditors: gaoshp
 * @LastEditTime: 2024-10-06 10:17:18
 * @LastEditTime: 2024-11-03 20:06:33
 * @FilePath: /cps-web/vue.config.js
 */
const { defineConfig } = require('@vue/cli-service')
@@ -30,14 +30,14 @@
                    '^/api': '/'
                }
            },
            '/api/smis/workstation/listDatapointsByWorkstationId': {
                target: 'http://120.46.212.231:4102',
                // ws: true,
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '/'
                }
            },
            // '/api/smis/workstation/listDatapointsByWorkstationId': {
            //     target: 'http://120.46.212.231:4102',
            //     // ws: true,
            //     changeOrigin: true,
            //     pathRewrite: {
            //         '^/api': '/'
            //     }
            // },
            '/api/smis/workstation/saveDatapoints': {
                target: 'http://120.46.212.231:4102',
                // ws: true,