mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
docs: Update practical-projects.zh-CN.md (#33419)
This commit is contained in:
parent
7f09f0a604
commit
73ac1b1aaa
@ -104,7 +104,7 @@ import { useRequest } from 'umi';
|
||||
import { queryProductList } from '@/services/product';
|
||||
|
||||
export default function useProductList(params: { pageSize: number; current: number }) {
|
||||
const msg = useRequest(() => queryUserList(params));
|
||||
const msg = useRequest(() => queryProductList(params));
|
||||
|
||||
const deleteProducts = async (id: string) => {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user