Commit 7c2f85169248b369f95c5866ef7e90d4fb1739ef

Authored by Vben
1 parent 37508ca4

fix(table): ensure the table setting button dividing line is hidden

CHANGELOG.zh_CN.md
... ... @@ -16,6 +16,8 @@
16 16  
17 17 - 修复验证码组件警告问题
18 18 - 修复表格不能正确的获取选中行
  19 +- 修复全屏状态下 modal 高度计算错误
  20 +- 修复部分表格样式问题
19 21  
20 22 ## 2.0.1 (2021-02-21)
21 23  
... ...
src/components/Table/src/components/TableHeader.vue
... ... @@ -4,7 +4,7 @@
4 4  
5 5 <div :class="`${prefixCls}__toolbar`">
6 6 <slot name="toolbar"></slot>
7   - <Divider type="vertical" v-if="$slots.toolbar" />
  7 + <Divider type="vertical" v-if="$slots.toolbar && showTableSetting" />
8 8 <TableSetting :setting="tableSetting" v-if="showTableSetting" />
9 9 </div>
10 10 </template>
... ...
src/components/Table/src/components/settings/index.vue
... ... @@ -2,9 +2,7 @@
2 2 <div class="table-settings">
3 3 <RedoSetting v-if="getSetting.size" />
4 4 <SizeSetting v-if="getSetting.redo" />
5   -
6 5 <ColumnSetting v-if="getSetting.setting" />
7   -
8 6 <FullScreenSetting v-if="getSetting.fullScreen" />
9 7 </div>
10 8 </template>
... ...