Merge branch 'feature/230701-列表上面操作按钮显示两个' into develop

This commit is contained in:
黎永顺 2023-07-04 16:02:27 +08:00
commit d4aa7305c2
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ export default class Calculate extends React.Component {
style={{ display: "inline-block", marginRight: 8 }}>
<a
href="javascript:void(0);"
style={idx === 1 ? { padding: "0 12px" } : {}}
style={(idx === 1 && it.text.length === 2) ? { padding: "0 12px" } : {}}
onClick={() => this.handleOperateClick(it.index, record)}>
{it.text}
</a>