From 93a0705dbe7414b866b31e819700790a6a709c37 Mon Sep 17 00:00:00 2001 From: zhoubichuan Date: Sat, 28 Oct 2023 20:39:15 +0800 Subject: [PATCH] update --- src/pages/list/search/projects/data.d.ts | 4 ++-- src/pages/list/search/projects/index.tsx | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/list/search/projects/data.d.ts b/src/pages/list/search/projects/data.d.ts index 1c3fd74..29d2a74 100644 --- a/src/pages/list/search/projects/data.d.ts +++ b/src/pages/list/search/projects/data.d.ts @@ -11,7 +11,7 @@ export interface Params { export interface ListItemDataType { id: string; owner: string; - title: string; + name: string; images: any; cover: string; status: 'normal' | 'exception' | 'active' | 'success'; @@ -21,7 +21,7 @@ export interface ListItemDataType { body?: any; updatedAt: number; createdAt: number; - subDescription: string; + descript: string; description: string; activeUser: number; newUser: number; diff --git a/src/pages/list/search/projects/index.tsx b/src/pages/list/search/projects/index.tsx index d3f1f78..2850fcc 100644 --- a/src/pages/list/search/projects/index.tsx +++ b/src/pages/list/search/projects/index.tsx @@ -45,7 +45,7 @@ const Projects: FC = () => { current: 1, pageSize: 20, }, - { process: values }, + { type: values }, ); data = result.data; setLists(data); @@ -71,13 +71,13 @@ const Projects: FC = () => { } + cover={{item.name}} > {item.title}} + title={{item.name}} description={ - {item.subDescription} + {item.descript} } />