Commit fcdd958a authored by 陈珠河's avatar 陈珠河

Fix: 修复图表入口文件引入的地址

parent 398525d0
...@@ -103,7 +103,6 @@ const config = { ...@@ -103,7 +103,6 @@ const config = {
}); });
}); });
}, },
/** /**
* FormData数据上传,文件上传必用 * FormData数据上传,文件上传必用
* @param {String} url * @param {String} url
......
...@@ -23,8 +23,8 @@ const pages = { ...@@ -23,8 +23,8 @@ const pages = {
chunks: ['chunk-vendors', 'chunk-commons', 'element-ui', 'smart-form', 'form'] chunks: ['chunk-vendors', 'chunk-commons', 'element-ui', 'smart-form', 'form']
}, },
charts: { charts: {
entry: 'Apps/charts/main.js', entry: 'charts/main.js',
template: 'Apps/charts/charts.html', template: 'charts/charts.html',
filename: 'charts.html', filename: 'charts.html',
chunks: ['chunk-vendors', 'element-ui', 'smart-charts', 'charts'] chunks: ['chunk-vendors', 'element-ui', 'smart-charts', 'charts']
} }
...@@ -86,6 +86,7 @@ module.exports = { ...@@ -86,6 +86,7 @@ module.exports = {
config.resolve.alias config.resolve.alias
.set('@', resolve('src')) .set('@', resolve('src'))
.set('@form', resolve('form')) .set('@form', resolve('form'))
.set('@charts', resolve('charts'))
.set('@config', resolve('config')); .set('@config', resolve('config'));
const arr = ['app', 'form']; const arr = ['app', 'form'];
......
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