|
@@ -18,7 +18,7 @@ const SearchModal = ({ clientId, onSelect }) => {
|
|
|
customer: [],
|
|
customer: [],
|
|
|
searchVal: '',
|
|
searchVal: '',
|
|
|
current: 1,
|
|
current: 1,
|
|
|
- pageSize: 7,
|
|
|
|
|
|
|
+ pageSize: 10,
|
|
|
total: 0
|
|
total: 0
|
|
|
})
|
|
})
|
|
|
const initData = async params => {
|
|
const initData = async params => {
|
|
@@ -41,7 +41,7 @@ const SearchModal = ({ clientId, onSelect }) => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
useEffect(() => {
|
|
useEffect(() => {
|
|
|
- initData({ current: 1, pageSize: 7 })
|
|
|
|
|
|
|
+ initData({ current: 1, pageSize: 10 })
|
|
|
}, [])
|
|
}, [])
|
|
|
const onChange = e => {
|
|
const onChange = e => {
|
|
|
const { value = '' } = e.target || e.currentTarget
|
|
const { value = '' } = e.target || e.currentTarget
|