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