code refactor

This commit is contained in:
MaysWind
2025-01-24 00:42:43 +08:00
parent 8fce3f2bcc
commit 6a59ed0984
2 changed files with 5 additions and 9 deletions
+1 -3
View File
@@ -24,9 +24,7 @@ interface DesktopPieChartDataItem extends CommonPieChartDataItem {
selected: boolean;
}
interface DesktopPieChartProps extends CommonPieChartProps {}
const props = defineProps<DesktopPieChartProps>();
const props = defineProps<CommonPieChartProps>();
const emit = defineEmits<{
(e: 'click', value: Record<string, unknown>): void;