This commit is contained in:
gtz217 2021-12-08 16:01:51 +08:00
parent ab898dda04
commit b94ecf28da
3 changed files with 20 additions and 4 deletions

View File

@ -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' 'use strict'
const merge = require('webpack-merge') const merge = require('webpack-merge')
const prodEnv = require('./prod.env') const prodEnv = require('./prod.env')

View File

@ -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' 'use strict'
// Template version: 1.2.5 // Template version: 1.2.5
// see http://vuejs-templates.github.io/webpack for documentation. // see http://vuejs-templates.github.io/webpack for documentation.
@ -14,10 +22,10 @@ module.exports = {
// 代理列表, 是否开启代理通过[./dev.env.js]配置 // 代理列表, 是否开启代理通过[./dev.env.js]配置
proxyTable: devEnv.OPEN_PROXY === false ? {} : { proxyTable: devEnv.OPEN_PROXY === false ? {} : {
'/proxyApi': { '/proxyApi': {
target: 'http://demo.renren.io/renren-fast/', target: 'http://192.168.0.109:8080/',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/proxyApi': '/' '^/proxyApi': ''
} }
} }
}, },

View File

@ -1,8 +1,8 @@
/* /*
* @Author: zwq * @Author: zwq
* @Date: 2021-11-15 08:20:28 * @Date: 2021-11-15 08:20:28
* @LastEditors: zwq * @LastEditors: gtz
* @LastEditTime: 2021-11-15 17:17:47 * @LastEditTime: 2021-12-07 11:07:41
* @Description: * @Description:
*/ */
import Mock from 'mockjs' import Mock from 'mockjs'