提交 7c2f8516 作者: Vben

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

上级 37508ca4
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
- 修复验证码组件警告问题 - 修复验证码组件警告问题
- 修复表格不能正确的获取选中行 - 修复表格不能正确的获取选中行
- 修复全屏状态下 modal 高度计算错误
- 修复部分表格样式问题
## 2.0.1 (2021-02-21) ## 2.0.1 (2021-02-21)
......
...@@ -4,7 +4,7 @@ ...@@ -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>
......
...@@ -2,9 +2,7 @@ ...@@ -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>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论