resolver-egretimp-plus 0.0.282 → 0.0.283
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 +1 -1
package/package.json
CHANGED
package/src/utils/render.jsx
CHANGED
|
@@ -970,7 +970,7 @@ function createFormLable(config, lang = 'zh') {
|
|
|
970
970
|
return normalLabelTipContent(lang.indexOf('zh') > -1 ? config.hintContentZh : config.hintContentEn)
|
|
971
971
|
}
|
|
972
972
|
return (
|
|
973
|
-
<div title={lang.indexOf('zh') > -1 ? config.metaNameZh : config.metaNameEn} class="custom-label">
|
|
973
|
+
<div title={lang.indexOf('zh') > -1 ? (config.labelZh || config.metaNameZh) : (config.labelEn || config.metaNameEn)} class="custom-label">
|
|
974
974
|
<span class="custom-label-content" style={config.labelStyle} onClick={() => config.onLabelClick && config.onLabelClick?.(config)}>
|
|
975
975
|
{required ? <span style="color: #f5222d; margin-right: 3px">*</span> : null}
|
|
976
976
|
<span>{lang.indexOf('zh') > -1 ? config.metaNameZh : config.metaNameEn}</span>
|