resolver-egretimp-plus 0.1.80 → 0.1.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -71,7 +71,7 @@ const getColumns = (filterKey) => {
|
|
|
71
71
|
value: option.columnValue
|
|
72
72
|
}))?.filter(item => {
|
|
73
73
|
if (filterKey) {
|
|
74
|
-
return item.label?.includes(filterKey)
|
|
74
|
+
return `${item.label || ''}`.toLocaleLowerCase()?.includes(`${filterKey}`.toLocaleLowerCase())
|
|
75
75
|
} else {
|
|
76
76
|
return true
|
|
77
77
|
}
|
package/src/utils/render.jsx
CHANGED
|
@@ -557,7 +557,7 @@ export function generateLayoutPolyfill(config, disabled, isH5) {
|
|
|
557
557
|
})
|
|
558
558
|
}
|
|
559
559
|
props.class = {
|
|
560
|
-
[normalCapitalizeComponent(config.metaType)]: true,
|
|
560
|
+
[normalCapitalizeComponent(config.renderby || config.metaType)]: true,
|
|
561
561
|
}
|
|
562
562
|
if (isElCol) {
|
|
563
563
|
props.class['is-card'] = config?.needWrap == '1', // 这个样式主要用于折叠上面,控制被卡片包裹的时候,下边距是16,没有被包裹的时候,是12
|