This commit is contained in:
xingyu4j
2025-11-13 16:57:06 +08:00
parent ccab033c4b
commit 8a4af8c55b
4 changed files with 15 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ import type { MallFavoriteApi } from '#/api/mall/product/favorite';
import { DICT_TYPE } from '@vben/constants';
import { useVbenVxeGrid } from '#/adapter/vxe-table';
import * as FavoriteApi from '#/api/mall/product/favorite';
import { getFavoritePage } from '#/api/mall/product/favorite';
const props = defineProps<{
userId: number;
@@ -72,7 +72,7 @@ const [Grid] = useVbenVxeGrid({
proxyConfig: {
ajax: {
query: async ({ page }, formValues) => {
return await FavoriteApi.getFavoritePage({
return await getFavoritePage({
pageNo: page.currentPage,
pageSize: page.pageSize,
userId: props.userId,