mirror of
https://github.com/dataease/dataease.git
synced 2026-05-24 06:18:10 +08:00
feat: 图片组件增加尺寸适应方式
This commit is contained in:
@@ -123,6 +123,10 @@ export function panelDataPrepare(componentData, componentStyle, callback) {
|
||||
item.commonBackground.enable = false
|
||||
item.commonBackground.backgroundType = 'innerImage'
|
||||
}
|
||||
// picture component
|
||||
if (item.component && item.component === 'Picture') {
|
||||
item.style.adaptation = item.style.adaptation || 'adaptation'
|
||||
}
|
||||
})
|
||||
// 初始化密度为最高密度
|
||||
componentStyle.aidedDesign.matrixBase = 4
|
||||
|
||||
Reference in New Issue
Block a user