fix: 复制仪表板,指标卡颜色丢失

This commit is contained in:
wangjiahao 2022-05-30 18:01:31 +08:00
parent fa49b2763e
commit 57a7d491db
2 changed files with 3 additions and 1 deletions

View File

@ -365,6 +365,7 @@
custom_filter,
drill_fields,
SNAPSHOT,
senior,
data_from)
SELECT pv_copy.chart_view_id AS id,
`name`,
@ -392,6 +393,7 @@
custom_filter,
drill_fields,
SNAPSHOT,
senior,
data_from
FROM (
SELECT panel_id,

View File

@ -130,7 +130,7 @@ export function baseGaugeOption(chart_option, chart, scale = 1) {
}
}
}
console.log(chart_option.series[0])
// console.log(chart_option.series[0])
// console.log(chart_option);
componentStyle(chart_option, chart)
return chart_option