|
|
@@ -38,6 +38,7 @@ export function useHomePageMiniCommonListGoMoreAndGoDetail(p: {
|
|
|
itemType?: string,
|
|
|
detailsPage: string,
|
|
|
count?: number,
|
|
|
+ params?: Record<string, any>,
|
|
|
}) : IHomePageMiniCommonListGoMoreAndGoDetail {
|
|
|
function goDetail(id: number) {
|
|
|
navTo(p.detailsPage, {
|
|
|
@@ -62,6 +63,7 @@ export function useHomePageMiniCommonListGoMoreAndGoDetail(p: {
|
|
|
(await CommonContent.getContentList(new GetContentListParams().setSelfValues({
|
|
|
mainBodyColumnId: p.mainBodyColumnId,
|
|
|
modelId: p.modelId,
|
|
|
+ ...p.params,
|
|
|
}), 1, p.count ?? 4)).list
|
|
|
);
|
|
|
|