bug修改

This commit is contained in:
2026-04-14 15:27:06 +08:00
parent 446078f558
commit d8abdfbfec
14 changed files with 49 additions and 351 deletions

View File

@@ -17,10 +17,6 @@ export default {
type: Object,
default: () => ({
}),
// 校验数据格式
// validator: (value) => {
// return Array.isArray(value.series) && Array.isArray(value.allPlaceNames);
// }
}
},
mounted() {
@@ -72,20 +68,10 @@ export default {
backgroundColor: '#6a7985'
}
},
// formatter: (params) => {
// let html = `${params[0].axisValue}<br/>`;
// params.forEach(item => {
// const unit = item.seriesName === '完成率' ? '%' : (
// ['产量', '销量'].includes(this.$parent.selectedProfit) ? '片' : '万元'
// );
// html += `${item.marker} ${item.seriesName}: ${item.value}${unit}<br/>`;
// });
// return html;
// }
},
grid: {
top: 30,
bottom:20,
bottom:5,
right: 10,
left: 25,
containLabel: true