resolver-egretimp-plus 0.0.270 → 0.0.271
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
package/src/utils/render.jsx
CHANGED
|
@@ -607,13 +607,16 @@ function elColSpecialProsp (config) {
|
|
|
607
607
|
style.flexBasis = 0
|
|
608
608
|
style.maxWidth = 'unset'
|
|
609
609
|
style.minWidth = 'unset'
|
|
610
|
+
style.maxWidth = '100%'
|
|
610
611
|
} else if (config.elWidth === 'self') {
|
|
611
|
-
style.flexGrow = 0
|
|
612
|
-
style.flexShrink = 0
|
|
613
|
-
style.flexBasis = 0
|
|
614
|
-
style.maxWidth = 'unset'
|
|
612
|
+
// style.flexGrow = 0
|
|
613
|
+
// style.flexShrink = 0
|
|
614
|
+
// style.flexBasis = 0
|
|
615
|
+
// style.maxWidth = 'unset'
|
|
616
|
+
style.flex = 'unset'
|
|
615
617
|
style.minWidth = 'unset'
|
|
616
|
-
style.
|
|
618
|
+
style.maxWidth = '100%'
|
|
619
|
+
// style.whiteSpace = 'nowrap'
|
|
617
620
|
} else {
|
|
618
621
|
style.flexGrow = 0
|
|
619
622
|
style.flexShrink = 0
|
|
@@ -680,7 +683,7 @@ function generateFormItemPc (config, lang, compProps, params,) {
|
|
|
680
683
|
return node => {
|
|
681
684
|
if (config.polyfillNode && typeof config.polyfillNode === 'function') {
|
|
682
685
|
node = (
|
|
683
|
-
<div style="width: 100
|
|
686
|
+
<div style="width: 100%; line-height: 16px;">
|
|
684
687
|
{node}
|
|
685
688
|
{config.polyfillNode(h, { config, props: compProps, contextNode: node })}
|
|
686
689
|
</div>
|