feat(Field): add extra slot (#6290)

* feat(Field): add extra slot

* docs: remove form demo style
This commit is contained in:
neverland
2020-05-16 11:18:08 +08:00
committed by GitHub
parent 5c8d1d2420
commit 6870bdcbc2
11 changed files with 124 additions and 119 deletions
+5
View File
@@ -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}