mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-05 07:46:03 +08:00
build(projects): 更换eslint依赖为eslint-config-soybeanjs-vue
This commit is contained in:
@@ -287,7 +287,7 @@ function renderScatterChart() {
|
||||
chart.axis('GDP', {
|
||||
label: {
|
||||
formatter(value) {
|
||||
return `${(+value / 1000).toFixed(0)}k`;
|
||||
return `${(Number(value) / 1000).toFixed(0)}k`;
|
||||
} // 格式化坐标轴的显示
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user