resolver-egretimp-plus 0.0.117 → 0.0.118
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/dist/h5/index.js +1 -1
- package/dist/web/index.js +1 -1
- package/package.json +1 -1
- package/src/utils/render.jsx +6 -6
package/package.json
CHANGED
package/src/utils/render.jsx
CHANGED
|
@@ -408,7 +408,7 @@ export function getRenderComponentProps({ props, component, modelValue, selects,
|
|
|
408
408
|
...getRenderCompMargins(config),
|
|
409
409
|
width: commonProps.width || getBuildCompDefaultWidth(config)
|
|
410
410
|
}
|
|
411
|
-
if (!isHidden(config)) {
|
|
411
|
+
if (!isHidden({ config })) {
|
|
412
412
|
defprops.style.display = 'none'
|
|
413
413
|
}
|
|
414
414
|
|
|
@@ -524,7 +524,7 @@ function elColSpecialProsp (config) {
|
|
|
524
524
|
const style = {
|
|
525
525
|
textAlign: config.colTextAlign
|
|
526
526
|
}
|
|
527
|
-
if (!isHidden(config)) {
|
|
527
|
+
if (!isHidden({ config })) {
|
|
528
528
|
style.display = 'none'
|
|
529
529
|
} else {
|
|
530
530
|
if (hasOwn(config, 'elWidth')) {
|
|
@@ -666,7 +666,7 @@ function getFormItemExtendProps(config, lang, params) {
|
|
|
666
666
|
const style = {
|
|
667
667
|
...getFormItemMargins(config)
|
|
668
668
|
}
|
|
669
|
-
if (!isHidden(config)) {
|
|
669
|
+
if (!isHidden({ config })) {
|
|
670
670
|
style.display = 'none'
|
|
671
671
|
}
|
|
672
672
|
return {
|
|
@@ -691,7 +691,7 @@ function getFormItemRule(config, lang, params) {
|
|
|
691
691
|
callback()
|
|
692
692
|
return
|
|
693
693
|
}
|
|
694
|
-
if (!isHidden(config)) {
|
|
694
|
+
if (!isHidden({ config })) {
|
|
695
695
|
callback()
|
|
696
696
|
return
|
|
697
697
|
}
|
|
@@ -741,7 +741,7 @@ function getFormItemRule(config, lang, params) {
|
|
|
741
741
|
callback()
|
|
742
742
|
return
|
|
743
743
|
}
|
|
744
|
-
if (!isHidden(config)) {
|
|
744
|
+
if (!isHidden({ config })) {
|
|
745
745
|
callback()
|
|
746
746
|
return
|
|
747
747
|
}
|
|
@@ -778,7 +778,7 @@ function getFormItemRule(config, lang, params) {
|
|
|
778
778
|
callback()
|
|
779
779
|
return
|
|
780
780
|
}
|
|
781
|
-
if (!isHidden(config)) {
|
|
781
|
+
if (!isHidden({ config })) {
|
|
782
782
|
callback()
|
|
783
783
|
return
|
|
784
784
|
}
|