Merge pull request #9448 from dataease/pr@dev-v2@fix_batch-color

fix(图表): 修复指标卡名称颜色无法批量设置问题
This commit is contained in:
王嘉豪 2024-04-29 16:33:43 +08:00 committed by GitHub
commit 3e2b791ffc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -313,7 +313,7 @@ const renderChart = async view => {
if (indicatorName?.show) {
let nameColor = indicatorName.color
if (basicStyle?.alpha !== undefined) {
if (basicStyle?.alpha !== undefined && !batchOptStatus.value) {
nameColor = hexColorToRGBA(basicStyle.colors[2], basicStyle.alpha)
}