mirror of
https://github.com/dataease/dataease.git
synced 2026-06-17 21:08:31 +08:00
fix(数据大屏): 修复部分场景放大缩小按钮无效问题 (#16717)
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user