mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-23 17:50:25 +08:00
fix(table): fix index column style
修复序号列的样式问题
This commit is contained in:
parent
05329ce950
commit
c7c0a7e4c8
@ -3,7 +3,11 @@ import { BasicArrow } from '/@/components/Basic';
|
||||
export default () => {
|
||||
return (props: Recordable) => {
|
||||
if (!props.expandable) {
|
||||
return <span class="ant-table-row-expand-icon ant-table-row-spaced" />;
|
||||
if (props.expanded) {
|
||||
return <span class="ant-table-row-expand-icon ant-table-row-spaced" />;
|
||||
} else {
|
||||
return <span />;
|
||||
}
|
||||
}
|
||||
return (
|
||||
<BasicArrow
|
||||
|
Loading…
Reference in New Issue
Block a user