mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
fix: 修复批量设置过滤组件部分样式不适用问题
This commit is contained in:
@@ -648,7 +648,14 @@ export function findBaseDeFaultAttr(componentName) {
|
||||
if (comp.component === componentName) {
|
||||
const stylePropertyInner = []
|
||||
Object.keys(comp.style).forEach(styleKey => {
|
||||
stylePropertyInner.push(styleKey)
|
||||
if (
|
||||
(!['width', 'height'].includes(styleKey) &&
|
||||
componentName === 'VQuery' &&
|
||||
!Object.keys(commonStyle).includes(styleKey)) ||
|
||||
componentName !== 'VQuery'
|
||||
) {
|
||||
stylePropertyInner.push(styleKey)
|
||||
}
|
||||
})
|
||||
result = {
|
||||
properties: ['common-style', 'background-overall-component'],
|
||||
|
||||
Reference in New Issue
Block a user