Browse Source

Table: Table: Remove render default in `table-column`

lirilsu 7 năm trước cách đây
mục cha
commit
f347657651
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/table/src/table-column.js

+ 1 - 1
packages/table/src/table-column.js

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