diff --git a/src/components/mobile/PieChart.vue b/src/components/mobile/PieChart.vue index a69ace71..6bd4f5c9 100644 --- a/src/components/mobile/PieChart.vue +++ b/src/components/mobile/PieChart.vue @@ -11,7 +11,8 @@ :stroke="item.color | defaultIconColor('var(--default-icon-color)')" :stroke-width="diameter" :stroke-dasharray="item | itemStrokeDash(circumference)" - :stroke-dashoffset="item | itemDashOffset(validItems, circumference, itemCommonDashOffset)"> + :stroke-dashoffset="item | itemDashOffset(validItems, circumference, itemCommonDashOffset)" + @click="switchSelectedIndex(idx)">