mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
fix(图表): 带默认过滤参数的图表无法自定义图例颜色
This commit is contained in:
parent
c5ae73b723
commit
5e38fe45e3
@ -181,11 +181,7 @@ const calcData = async (view, callback) => {
|
||||
}
|
||||
}
|
||||
dvMainStore.setViewDataDetails(view.id, res)
|
||||
if (
|
||||
!res.drill &&
|
||||
!res.chartExtRequest?.filter?.length &&
|
||||
!res.chartExtRequest?.linkageFilters?.length
|
||||
) {
|
||||
if (!res.drill && !res.chartExtRequest?.linkageFilters?.length) {
|
||||
dvMainStore.setViewOriginData(view.id, chartData.value)
|
||||
emitter.emit('chart-data-change')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user