[bugfix] Collapse: title slot not work (#2753)

This commit is contained in:
neverland
2019-02-15 19:22:13 +08:00
committed by GitHub
parent 170dcbf0d2
commit c5bd04e30a
3 changed files with 55 additions and 18 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ export default sfc({
}, {});
if (this.slots('value')) {
titleSlots.default = this.slots('value');
titleSlots.default = () => this.slots('value');
}
const Title = (