feat(Field): add extra slot (#6290)
* feat(Field): add extra slot * docs: remove form demo style
This commit is contained in:
@@ -550,6 +550,11 @@ export default createComponent({
|
||||
scopedSlots.title = () => Label;
|
||||
}
|
||||
|
||||
const extra = this.slots('extra');
|
||||
if (extra) {
|
||||
scopedSlots.extra = () => extra;
|
||||
}
|
||||
|
||||
return (
|
||||
<Cell
|
||||
icon={this.leftIcon}
|
||||
|
||||
Reference in New Issue
Block a user