Table: Render `default` slot in `table-column` to get a correct `columnRows`

pull/7605/head
lirilsu 2017-10-19 17:29:13 +08:00 committed by 杨奕
parent fa494b1952
commit 0ca040fb42
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ export default {
created() {
this.customRender = this.$options.render;
this.$options.render = h => h('div');
this.$options.render = h => h('div', this.$slots.default);
this.columnId = (this.$parent.tableId || (this.$parent.columnId + '_')) + 'column_' + columnIdSeed++;
let parent = this.$parent;