mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Field): cell slots
This commit is contained in:
parent
a7836a30e6
commit
ec64d803be
@ -560,6 +560,11 @@ export default createComponent({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Cell
|
<Cell
|
||||||
|
v-slots={{
|
||||||
|
icon: this.genLeftIcon,
|
||||||
|
title: this.genLabel,
|
||||||
|
extra: slots.extra,
|
||||||
|
}}
|
||||||
icon={this.leftIcon}
|
icon={this.leftIcon}
|
||||||
size={this.size}
|
size={this.size}
|
||||||
class={bem({
|
class={bem({
|
||||||
@ -568,12 +573,6 @@ export default createComponent({
|
|||||||
[`label-${labelAlign}`]: labelAlign,
|
[`label-${labelAlign}`]: labelAlign,
|
||||||
'min-height': this.type === 'textarea' && !this.autosize,
|
'min-height': this.type === 'textarea' && !this.autosize,
|
||||||
})}
|
})}
|
||||||
// TODO
|
|
||||||
// vSlot={{
|
|
||||||
// icon: this.genLeftIcon,
|
|
||||||
// title: this.genLabel,
|
|
||||||
// extra: slots.extra,
|
|
||||||
// }}
|
|
||||||
center={this.center}
|
center={this.center}
|
||||||
border={this.border}
|
border={this.border}
|
||||||
isLink={this.isLink}
|
isLink={this.isLink}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user