mirror of
https://github.com/dataease/dataease.git
synced 2026-06-09 21:27:21 +08:00
fix: 修复大屏配置重置组件配置失效问题 (#18065)
This commit is contained in:
@@ -234,10 +234,10 @@ const changeColorOption = (option?) => {
|
||||
}
|
||||
}
|
||||
const resetCustomColor = () => {
|
||||
const { type } = props.chart
|
||||
const type = props.chart?.type
|
||||
const { basicStyleForm } = state.value
|
||||
|
||||
if (type.includes('map')) {
|
||||
if (type?.includes('map')) {
|
||||
changeColorOption()
|
||||
} else {
|
||||
basicStyleForm[seriesColorName.value] = []
|
||||
|
||||
Reference in New Issue
Block a user