resolver-egretimp-plus 0.1.95 → 0.1.96
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
|
@@ -981,11 +981,12 @@ function createFormLable(config, lang = 'zh') {
|
|
|
981
981
|
<span
|
|
982
982
|
onMouseenter={(e) => labelMouseEnenter(e, config, lang)}
|
|
983
983
|
onMouseout={() => config._labelShowTip = false}
|
|
984
|
-
class=
|
|
984
|
+
class={`custom-label-content ${required ? 'custom-label-require' : ''}`} style={config.labelStyle}
|
|
985
985
|
onClick={() => config.onLabelClick && config.onLabelClick?.(config)}
|
|
986
986
|
>
|
|
987
|
-
{required ? <span style="color: #f5222d; margin-right: 3px">*</span> : null}
|
|
988
|
-
|
|
987
|
+
{/* {required ? <span style="color: #f5222d; margin-right: 3px">*</span> : null} */}
|
|
988
|
+
{required ? '*' : null}
|
|
989
|
+
{lang.indexOf('zh') > -1 ? (config.labelZh || config.metaNameZh) : (config.labelEn || config.metaNameEn)}
|
|
989
990
|
</span>
|
|
990
991
|
{
|
|
991
992
|
config._labelShowTip ?
|