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

fix:引入charts首字母大写

parent df4c048d
......@@ -2,5 +2,5 @@ module.exports = function customName(name) {
if (name === 'interval') {
return 'bizcharts/lib/geometry/Interval'
}
return `bizcharts/lib/components/${name}`
return `bizcharts/lib/components/${name.slice(0, 1).toUpperCase() + name.slice(1)}`
};
\ No newline at end of file
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