Skip to content

Commit

Permalink
fix(table): ensure the table setting button dividing line is hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Feb 26, 2021
1 parent 37508ca commit 7c2f851
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

- 修复验证码组件警告问题
- 修复表格不能正确的获取选中行
- 修复全屏状态下 modal 高度计算错误
- 修复部分表格样式问题

## 2.0.1 (2021-02-21)

Expand Down
2 changes: 1 addition & 1 deletion src/components/Table/src/components/TableHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<div :class="`${prefixCls}__toolbar`">
<slot name="toolbar"></slot>
<Divider type="vertical" v-if="$slots.toolbar" />
<Divider type="vertical" v-if="$slots.toolbar && showTableSetting" />
<TableSetting :setting="tableSetting" v-if="showTableSetting" />
</div>
</template>
Expand Down
2 changes: 0 additions & 2 deletions src/components/Table/src/components/settings/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
<div class="table-settings">
<RedoSetting v-if="getSetting.size" />
<SizeSetting v-if="getSetting.redo" />

<ColumnSetting v-if="getSetting.setting" />

<FullScreenSetting v-if="getSetting.fullScreen" />
</div>
</template>
Expand Down

0 comments on commit 7c2f851

Please sign in to comment.