From a209335ca3b02b9f15b6773ddceaa50cc31b0dec Mon Sep 17 00:00:00 2001 From: Daniel Alexandrov Date: Mon, 5 Feb 2018 20:21:04 +0200 Subject: [PATCH] Allow 2D array as the model of MdTable --- src/components/MdTable/MdTableRow.vue | 2 +- src/components/MdTable/MdTableRowGhost.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/MdTable/MdTableRow.vue b/src/components/MdTable/MdTableRow.vue index df8bc95ab..44e4660a8 100644 --- a/src/components/MdTable/MdTableRow.vue +++ b/src/components/MdTable/MdTableRow.vue @@ -28,7 +28,7 @@ }, mdDisabled: Boolean, mdAutoSelect: Boolean, - mdItem: Object + mdItem: [Array, Object] }, inject: ['MdTable'], data: () => ({ diff --git a/src/components/MdTable/MdTableRowGhost.vue b/src/components/MdTable/MdTableRowGhost.vue index f33f07b83..7fea2b98f 100644 --- a/src/components/MdTable/MdTableRowGhost.vue +++ b/src/components/MdTable/MdTableRowGhost.vue @@ -5,7 +5,7 @@ props: { mdIndex: [String, Number], mdId: [String, Number], - mdItem: Object + mdItem: [Array, Object] }, render () { this.$slots.default[0].componentOptions.propsData.mdIndex = this.mdIndex