qx
qx
2 天以前 fe4c3af9a6de279c7cc2d0de8255530af610aa1f
vue.config.js
@@ -10,7 +10,7 @@
const name = process.env.VUE_APP_TITLE || "智慧健康体检管理系统"; // 网页标题
const port = process.env.port || process.env.npm_config_port || 80; // 端口
const generateHash = (str) => require('crypto').createHash('md5').update(str).digest('hex').slice(0, 8);
// vue.config.js 配置说明
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
// 这里只列一部分,具体配置参考文档
@@ -53,8 +53,9 @@
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        // target: `https://ltpeis.xaltjdkj.cn:5801/`,
        target: `http://localhost:5011`,
        // target: `http://192.168.1.113:5011`,
        // target: `http://192.168.1.99:5012`,
        target: `http://192.168.1.2:5011`,
        // target: `http://192.168.1.2:5011`,
        // // target: `http://192.168.0.99:8080/ltkj-admin`,
        // target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`,
        // target: `http://10.168.0.9:5011`,