fix(Field): incorrect empty cell title
This commit is contained in:
+4
-2
@@ -542,12 +542,14 @@ export default createComponent({
|
|||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
const labelAlign = getProp('labelAlign');
|
const labelAlign = getProp('labelAlign');
|
||||||
|
const Label = renderLabel();
|
||||||
|
const LeftIcon = renderLeftIcon();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Cell
|
<Cell
|
||||||
v-slots={{
|
v-slots={{
|
||||||
icon: renderLeftIcon,
|
icon: LeftIcon ? () => LeftIcon : null,
|
||||||
title: renderLabel,
|
title: Label ? () => Label : null,
|
||||||
extra: slots.extra,
|
extra: slots.extra,
|
||||||
}}
|
}}
|
||||||
size={props.size}
|
size={props.size}
|
||||||
|
|||||||
Reference in New Issue
Block a user