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) {
|
||||||
|
if (props.expanded) {
|
||||||
return <span class="ant-table-row-expand-icon ant-table-row-spaced" />;
|
return <span class="ant-table-row-expand-icon ant-table-row-spaced" />;
|
||||||
|
} else {
|
||||||
|
return <span />;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<BasicArrow
|
<BasicArrow
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue