Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoubichuan committed Oct 28, 2023
1 parent fe30aa9 commit 93a0705
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/pages/list/search/projects/data.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -21,7 +21,7 @@ export interface ListItemDataType {
body?: any;
updatedAt: number;
createdAt: number;
subDescription: string;
descript: string;
description: string;
activeUser: number;
newUser: number;
Expand Down
8 changes: 4 additions & 4 deletions src/pages/list/search/projects/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Projects: FC = () => {
current: 1,
pageSize: 20,
},
{ process: values },
{ type: values },
);
data = result.data;
setLists(data);
Expand All @@ -71,13 +71,13 @@ const Projects: FC = () => {
<Card
className={styles.card}
hoverable
cover={<img alt={item.title} src={item.images[0].thumbUrl} />}
cover={<img alt={item.name} src={item.images[0].thumbUrl} />}
>
<Card.Meta
title={<a>{item.title}</a>}
title={<a>{item.name}</a>}
description={
<Paragraph className={styles.item} ellipsis={{ rows: 2 }}>
{item.subDescription}
{item.descript}
</Paragraph>
}
/>
Expand Down

0 comments on commit 93a0705

Please sign in to comment.