修复某些情况下主机选择控件未展示过滤条件的问题

4.0
vapao 2023-03-28 22:47:00 +08:00
parent 1d361b4a3c
commit 5af083c118
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ function HostSelector(props) {
</Col>
<Col span={18} style={{paddingLeft: 12}}>
<div style={{display: 'flex', justifyContent: 'space-between', marginBottom: 12}}>
<Input allowClear style={{width: 260}} placeholder="输入名称/IP检索"
<Input allowClear style={{width: 260}} placeholder="输入名称/IP检索" value={store.f_word}
onChange={e => store.f_word = e.target.value}/>
<Space hidden={selectedRowKeys.length === 0}>
<div>已选择 {selectedRowKeys.length} 台主机</div>