Skip to content

Commit

Permalink
feat(MdTable): allow 2D array as the model value (#1477)
Browse files Browse the repository at this point in the history
  • Loading branch information
azzzy authored and marcosmoura committed Feb 6, 2018
1 parent 679f3d6 commit aed487a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/MdTable/MdTableRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
mdDisabled: Boolean,
mdAutoSelect: Boolean,
mdItem: Object
mdItem: [Array, Object]
},
inject: ['MdTable'],
data: () => ({
Expand Down
2 changes: 1 addition & 1 deletion src/components/MdTable/MdTableRowGhost.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aed487a

Please sign in to comment.