diff --git a/src/pages/preview/brand/list/list.tsx b/src/pages/preview/brand/list/list.tsx index 474d4ff..25ca4c8 100644 --- a/src/pages/preview/brand/list/list.tsx +++ b/src/pages/preview/brand/list/list.tsx @@ -16,9 +16,10 @@ const BrandList: FC = () => { const getData = useCallback(async () => { try { - const res = await brandApi.list(1, 10) + const res = await brandApi.list(page, 10) setTotal(res.total) setBrands([ + ...brands, ...res.list ]) } catch (e) {