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