Commit 48531bfb authored by 郭铭瑶's avatar 郭铭瑶 🤘

解决有求必应里环图的bug

parent 1bab2f2a
......@@ -237,8 +237,10 @@ export default defineComponent({
},
]
})
const pieSeries = pieData.value.map((item, i) => {
const rate = Math.round((pieData.value.length - i) * fontSize.value) + 10
const pieSeries = computed(() => {
return pieData.value.map((item, i) => {
const rate =
Math.round((pieData.value.length - i) * fontSize.value) + 10
const borderWidth = fontSize.value * 0.6
return {
type: 'pie',
......@@ -270,12 +272,13 @@ export default defineComponent({
],
}
})
const pieOption = ref({
})
const pieOption = computed(() => ({
legend: {
show: false,
},
series: pieSeries,
})
series: pieSeries.value,
}))
const steps = ref(['发现', '立案', '派遣', '处置', '核查', '结案'])
const searchCase = (key: string) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment