diff --git a/config/dev.env.js b/config/dev.env.js index b6614db..1cc0c69 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -1,3 +1,11 @@ +/* + * @Author: gtz + * @Date: 2021-11-19 10:10:51 + * @LastEditors: gtz + * @LastEditTime: 2021-12-07 11:07:26 + * @Description: file content + * @FilePath: \mt-qj-wms-ui\config\dev.env.js + */ 'use strict' const merge = require('webpack-merge') const prodEnv = require('./prod.env') diff --git a/config/index.js b/config/index.js index b89e19f..5e8b261 100644 --- a/config/index.js +++ b/config/index.js @@ -1,3 +1,11 @@ +/* + * @Author: gtz + * @Date: 2021-11-19 10:10:51 + * @LastEditors: gtz + * @LastEditTime: 2021-12-07 11:07:20 + * @Description: file content + * @FilePath: \mt-qj-wms-ui\config\index.js + */ 'use strict' // Template version: 1.2.5 // see http://vuejs-templates.github.io/webpack for documentation. @@ -14,10 +22,10 @@ module.exports = { // 代理列表, 是否开启代理通过[./dev.env.js]配置 proxyTable: devEnv.OPEN_PROXY === false ? {} : { '/proxyApi': { - target: 'http://demo.renren.io/renren-fast/', + target: 'http://192.168.0.109:8080/', changeOrigin: true, pathRewrite: { - '^/proxyApi': '/' + '^/proxyApi': '' } } }, diff --git a/src/mock/index.js b/src/mock/index.js index 9c5aa84..202963d 100644 --- a/src/mock/index.js +++ b/src/mock/index.js @@ -1,8 +1,8 @@ /* * @Author: zwq * @Date: 2021-11-15 08:20:28 - * @LastEditors: zwq - * @LastEditTime: 2021-11-15 17:17:47 + * @LastEditors: gtz + * @LastEditTime: 2021-12-07 11:07:41 * @Description: */ import Mock from 'mockjs'