fix: 修复大屏配置重置组件配置失效问题 (#18065)

This commit is contained in:
王嘉豪
2026-03-11 18:26:15 +08:00
committed by GitHub
parent 5182356883
commit 5c016654fc

View File

@@ -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] = []