Skip to content

Commit

Permalink
fix(table): fix table with undisplay tr
Browse files Browse the repository at this point in the history
  • Loading branch information
luchunyu committed Feb 27, 2019
1 parent 9b03104 commit dac451c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/table/base-table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ table
v-html="columnsItem.render(index, dataItem[columnsItem.key], dataItem)"
)
span(v-else) {{dataItem[columnsItem.key]}}
tr(v-show="hasExpand && dataItem._showExpand")
tr(v-if="hasExpand && dataItem._showExpand")
td(:colspan="allColumns.length")
slot(name="expandRow" :row="dataItem")
</template>
Expand Down

0 comments on commit dac451c

Please sign in to comment.