diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index 460409b13..3d7978e23 100644 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -30,7 +30,7 @@ - + + @@ -75,7 +76,7 @@ const RowExpansionTemplate = { } } -const EmptySlotTemplate = { +const SlotTemplate = { functional: true, props: { template: { @@ -175,6 +176,10 @@ export default { type: null, default: null }, + loading: { + type: Boolean, + default: false + }, templates: { type: null, default: null @@ -435,7 +440,7 @@ export default { components: { 'DTBodyCell': BodyCell, 'DTRowExpansionTemplate': RowExpansionTemplate, - 'DTEmptySlotTemplate': EmptySlotTemplate + 'DTSlotTemplate': SlotTemplate } } \ No newline at end of file diff --git a/src/views/datatable/DataTableDemo.vue b/src/views/datatable/DataTableDemo.vue index 6ca939745..8fcdb38b8 100644 --- a/src/views/datatable/DataTableDemo.vue +++ b/src/views/datatable/DataTableDemo.vue @@ -13,7 +13,7 @@