修复其它维度展示

This commit is contained in:
Chengliang 2024-07-04 09:44:19 +08:00
parent 6bf43c8150
commit 8a59de812a
1 changed files with 33 additions and 28 deletions

View File

@ -305,6 +305,8 @@ export class TopBar extends React.Component {
</Tooltip>
</Col>
<Col span={16}>
{this.state.requestData.fclass == '0' && (
<span>
<Button
type="primary"
style={{ marginRight: '10px' }}
@ -315,16 +317,6 @@ export class TopBar extends React.Component {
>
{getLabel(547305, labelData)}
</Button>
<Button
type="primary"
style={{ marginRight: '10px' }}
onClick={() => {
this.props.onSearch(this.state.requestData);
}}
>
{getLabel(547307, labelData)}
</Button>
<Button
type="primary"
style={{ marginRight: '10px' }}
@ -342,7 +334,20 @@ export class TopBar extends React.Component {
}}
>
{getLabel(547313, labelData)}
</Button>{' '}
</span>
)}
<Button
type="primary"
style={{ marginRight: '10px' }}
onClick={() => {
this.props.onSearch(this.state.requestData);
}}
>
{getLabel(547307, labelData)}
</Button>
<Dropdown overlay={this.menu}>
<Button type="primary">{getLabel(547314, labelData)}</Button>
</Dropdown>