This commit is contained in:
ljx
2025-09-12 23:27:10 +08:00
parent 5f0368dad2
commit 0a58a655d2
2 changed files with 0 additions and 3 deletions

View File

@ -46,8 +46,6 @@ export let pieOption = {
label: {
alignTo: 'edge',
formatter: function (params) {
console.log(params, 3333333333);
// 只显示前三个数据项
return `{name|${params.data.name}}\n{percent|${(params.data.completionRate / 100).toFixed(2)}%}`;
},

View File

@ -173,7 +173,6 @@ const getOutputData = async () => {
processedData.forEach((item) => {
item.percentage = totalCapacity > 0 ? ((item.value / totalCapacity) * 100).toFixed(2) : '0%';
});
console.log(processedData, 55555555);
processedDataList.value = processedData;
initPieChart();