Commit 0ca040fb authored by lirilsu's avatar lirilsu Committed by 杨奕

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

parent fa494b19
...@@ -181,7 +181,7 @@ export default { ...@@ -181,7 +181,7 @@ export default {
created() { created() {
this.customRender = this.$options.render; 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++; this.columnId = (this.$parent.tableId || (this.$parent.columnId + '_')) + 'column_' + columnIdSeed++;
let parent = this.$parent; let parent = this.$parent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment