docs: Update practical-projects.zh-CN.md (#33419)

This commit is contained in:
Nmaxwiver 2021-12-27 10:03:17 +08:00 committed by GitHub
parent 7f09f0a604
commit 73ac1b1aaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {