Skip to content

Commit af0b89c

Browse files
authored
fix(MdTable): fix value condition for slot
* fix(MdTable): fix value condition * feat(MdTable): use hasValue computed
1 parent 71b7afa commit af0b89c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MdTable/MdTable.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<slot name="md-table-pagination" />
4848
</md-content>
4949

50-
<slot v-if="value" />
50+
<slot v-if="!hasValue" />
5151
</md-tag-switcher>
5252
</template>
5353

0 commit comments

Comments
 (0)