mirror of
https://github.com/dataease/dataease.git
synced 2026-06-16 20:42:07 +08:00
fix(数据大屏): 修复配色重置未生效问题 (#17328)
This commit is contained in:
@@ -234,10 +234,8 @@ const changeColorOption = (option?) => {
|
||||
}
|
||||
}
|
||||
const resetCustomColor = () => {
|
||||
const { type } = props.chart
|
||||
const { basicStyleForm } = state.value
|
||||
|
||||
if (type.includes('map')) {
|
||||
if (props.chart?.type?.includes('map')) {
|
||||
changeColorOption()
|
||||
} else {
|
||||
basicStyleForm[seriesColorName.value] = []
|
||||
|
||||
Reference in New Issue
Block a user