loulijun2021
2023-04-23 9e730d2ae1a22b1ecb9dca1ee0807535291b28c5
vue.config.js
@@ -53,7 +53,8 @@
    proxy: {
      [process.env.VUE_APP_BASE_API]: {
        // target: 'http://121.196.36.24:8013', // 请求的第三⽅接⼝地址       本地开发服务器
        target: 'http://192.168.188.180:8001', // 请求的第三⽅接⼝地址   福莱泰
        // target: 'http://192.168.188.180:8001', // 请求的第三⽅接⼝地址   福莱泰  (未上云)
        target: 'http://xyfhk5.natappfree.cc', // 请求的第三⽅接⼝地址   福莱泰  (上云)
        changeOrigin: true, // 请求跨域时,需 配置此项
        pathRewrite: { // 路径重写,替换target中的请求地址
@@ -78,14 +79,14 @@
        jQuery: 'jquery',
        $: 'jquery'
      })
    ],
    ]
    // module: {
      // rules: [
      //   {
      //     test: /.vue$/,
      //     loader: 'vue-loader'
      //   }
      // ]
    // rules: [
    //   {
    //     test: /.vue$/,
    //     loader: 'vue-loader'
    //   }
    // ]
    // }
  },
  chainWebpack(config) {