fix(数据大屏): 修复部分场景放大缩小按钮无效问题 (#16717)

This commit is contained in:
王嘉豪
2025-08-14 14:32:05 +08:00
committed by wangjiahao
parent 16f1d688a4
commit 4c0121a2dc

View File

@@ -31,6 +31,9 @@ export function changeSizeWithScale(scale) {
}
function changeComponentsSizeWithScaleCircle(componentDataCopy, scale) {
if (!componentDataCopy || !Array.isArray(componentDataCopy)) {
return
}
componentDataCopy?.forEach(component => {
Object.keys(component.style).forEach(key => {
if (needToChangeDirectionAttrs.width.includes(key)) {