mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-02-03 02:54:40 +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 () => {
|
export default () => {
|
||||||
return (props: Recordable) => {
|
return (props: Recordable) => {
|
||||||
if (!props.expandable) {
|
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 (
|
return (
|
||||||
<BasicArrow
|
<BasicArrow
|
||||||
|
Loading…
Reference in New Issue
Block a user