Commit e4d8f181 authored by xinzhedeai's avatar xinzhedeai

fix:视频状态图表修改

parent 374833cc
......@@ -25,7 +25,7 @@ const { domRef, updateOptions } = useEcharts(() => ({
},
series: [
{
color: ['#1872F0', '#f8f8f9'],
color: ['#f8f8f9', '#1872F0'],
name: '任务分析状态',
type: 'pie',
radius: ['40%', '70%'],
......@@ -114,8 +114,8 @@ const getCardData = async () => {
if (res.data.code === 200) {
updateOptions(opts => {
opts.series[0].data = [
{ name: `已启动`, value: res.data.data[0].count },
{ name: `已停用`, value: res.data.data[1].count },
{ name: `已停用`, value: res.data.data[0].count },
{ name: `已启动`, value: res.data.data[1].count },
];
return opts;
});
......
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