loulijun2021
2023-05-23 ff0604306c9cf18a05e5d8a3a136432284c290bb
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://tvgwpb.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) {