style: 修复table 中放置带单位的 inputNumber 弹出被挡住问题

This commit is contained in:
2betop 2024-09-10 21:00:22 +08:00
parent acfb3ff1d1
commit 9e8e065c78

View File

@ -484,7 +484,8 @@ export default class NumberControl extends React.Component<
env,
name,
showAsPercent,
testIdBuilder
testIdBuilder,
popOverContainer
} = this.props;
const {unit} = this.state;
const finalPrecision = this.filterNum(precision);
@ -590,6 +591,7 @@ export default class NumberControl extends React.Component<
onChange={this.handleChangeUnit}
className={`${ns}NumberControl-unit`}
disabled={disabled}
popOverContainer={popOverContainer}
/>
) : (
<div