提交
This commit is contained in:
@ -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)}%}`;
|
||||
},
|
||||
|
||||
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user