yxh
yxh
7 天以前 8022f7036945b75f82f2dfc43055623f81ed98f6
vue.config.js
@@ -5,7 +5,7 @@
  return path.join(__dirname, dir)
}
const name = process.env.VUE_APP_TITLE || '若依管理系统' // 网页标题
const name = process.env.VUE_APP_TITLE || '浙江省OPO数字化管理系统' // 网页标题
const port = process.env.port || process.env.npm_config_port || 80 // 端口
@@ -32,11 +32,11 @@
    open: true,
    proxy: {
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        // target:`http://localhost:8080`,
      [process.env.VUE_APP_BASE_API]: {
        target:`http://localhost:8080`,
        // target:`http://192.168.1.10:8080`,
        // target:`http://116.62.18.175:8080`,
        target:`http://192.168.1.4:8086`,
        // target: `https://slb.hospitalstar.com:9093`,
        // target:`https://slb.hospitalstar.com:9093`,
        changeOrigin: true,
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''