fix(仪表板): 修复移动端配置水波图切换为动态值后样式发生变化,但数值没有问题

This commit is contained in:
wangjiahao
2025-03-04 12:01:11 +08:00
committed by 王嘉豪
parent 8eb8dab140
commit 8919ba9b7f

View File

@@ -87,7 +87,11 @@ const hanedleMessage = event => {
mobileComponent['events'] = component['events']
mobileComponent['propValue'] = component['propValue']
mobileViewStyleSwitch(otherComponent)
useEmitt().emitter.emit('renderChart-' + component.id, otherComponent)
if (mobileComponent.component === 'VQuery') {
useEmitt().emitter.emit('renderChart-' + component.id, otherComponent)
} else if (mobileComponent.component === 'UserView') {
useEmitt().emitter.emit('calcData-' + component.id, otherComponent)
}
}
}