Commit 9529bdf8 by zhaochengxiang

bug fix

parent 526365c0
......@@ -93,13 +93,12 @@ const Basic = React.forwardRef(function ({ type, items }, ref) {
React.useEffect(() => {
if (node) {
setArgsByParams({ keyword: '' })
setPagination({...paginate, page: 1})
}
}, [node])
React.useEffect(() => {
setPagination({...paginate, page: 1})
}, [selectedType])
setPagination({...pagination, page: 1})
}, [selectedType, node])
React.useEffect(() => {
if (items) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment