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

This commit is contained in:
Vben 2021-02-26 20:36:54 +08:00
parent 37508ca411
commit 7c2f851692
3 changed files with 3 additions and 3 deletions

View File

@ -16,6 +16,8 @@
- 修复验证码组件警告问题 - 修复验证码组件警告问题
- 修复表格不能正确的获取选中行 - 修复表格不能正确的获取选中行
- 修复全屏状态下 modal 高度计算错误
- 修复部分表格样式问题
## 2.0.1 (2021-02-21) ## 2.0.1 (2021-02-21)

View File

@ -4,7 +4,7 @@
<div :class="`${prefixCls}__toolbar`"> <div :class="`${prefixCls}__toolbar`">
<slot name="toolbar"></slot> <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" /> <TableSetting :setting="tableSetting" v-if="showTableSetting" />
</div> </div>
</template> </template>

View File

@ -2,9 +2,7 @@
<div class="table-settings"> <div class="table-settings">
<RedoSetting v-if="getSetting.size" /> <RedoSetting v-if="getSetting.size" />
<SizeSetting v-if="getSetting.redo" /> <SizeSetting v-if="getSetting.redo" />
<ColumnSetting v-if="getSetting.setting" /> <ColumnSetting v-if="getSetting.setting" />
<FullScreenSetting v-if="getSetting.fullScreen" /> <FullScreenSetting v-if="getSetting.fullScreen" />
</div> </div>
</template> </template>