修改key查询组件

This commit is contained in:
wangsongsole 2022-07-28 10:14:34 +08:00
parent d6de2e2731
commit 7b22810deb
1 changed files with 9 additions and 3 deletions

View File

@ -2,8 +2,8 @@
* @Author: Wind
* @Date: 2022-07-25 10:53:41
* @LastEditors: Wind
* @LastEditTime: 2022-07-25 17:42:32
* @Description:
* @LastEditTime: 2022-07-28 09:49:31
* @Description:key列表查询组件
* @FilePath: \frontend\src\components\keysFind\index.jsx
*/
import './index.less'
@ -119,7 +119,13 @@ export default ({ onQuery }) => {
<Button type='primary' onClick={() => onQuery(models)}>
查询
</Button>
<Button onClick={() => setModels(init())}>重置</Button>
<Button
onClick={() => {
setModels(init())
onQuery(init())
}}>
重置
</Button>
</div>
</Form>
</div>