Commit 7792ba9a authored by 前端-许佳敏's avatar 前端-许佳敏

修改构建文件

parent 5aae74f4
export default { export default {
'/api': { '/api': {
'target': 'http://10.0.0.25:8100/', 'target': process.env.BACK_GATEWAY || 'http://10.0.0.25:8100/',
'changeOrigin': true, 'changeOrigin': true,
'pathRewrite': { '^/api': '' }, 'pathRewrite': { '^/api': '' },
} }
......
module.exports = function customName(name) { module.exports = function customName(name) {
if (name === 'interval') { if (name === 'Interval') {
return 'bizcharts/lib/geometry/Interval' return 'bizcharts/lib/geometry/Interval'
} }
return `bizcharts/lib/components/${name.slice(0, 1).toUpperCase() + name.slice(1)}` return `bizcharts/lib/components/${name.slice(0, 1).toUpperCase() + name.slice(1)}`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment