Skip to content

Commit

Permalink
ci: fix ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jul 12, 2021
1 parent 4ad4f3d commit 55b62bc
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 13 deletions.
3 changes: 1 addition & 2 deletions .script/genBlockConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ const getFolderTreeData = (filePath) => {
url: 'https://github.com/ant-design/pro-blocks/tree/master/EmptyPage',
path: 'NewPage',
features: ['antd'],
img:
'https://raw.githubusercontent.com/ant-design/pro-blocks/master/EmptyPage/snapshot.png?raw=true',
img: 'https://raw.githubusercontent.com/ant-design/pro-blocks/master/EmptyPage/snapshot.png?raw=true',
tags: ['空白页'],
previewUrl: 'https://preview.pro.ant.design',
});
Expand Down
2 changes: 1 addition & 1 deletion AccountCenter/src/data.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export type tabKeyType = 'articles' | 'applications' | 'projects';
export interface TagType {
key: string;
label: string;
};
}

export type GeographicType = {
province: {
Expand Down
4 changes: 2 additions & 2 deletions DashboardAnalysis/src/data.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export { DataItem };
export interface VisitDataType {
x: string;
y: number;
};
}

export type SearchDataType = {
index: number;
Expand Down Expand Up @@ -43,4 +43,4 @@ export interface AnalysisData {
salesTypeDataOnline: DataItem[];
salesTypeDataOffline: DataItem[];
radarData: RadarData[];
};
}
4 changes: 2 additions & 2 deletions DashboardWorkplace/src/data.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface RadarData {
name: string;
label: string;
value: number;
};
}

export type AnalysisData = {
visitData: VisitDataType[];
Expand All @@ -37,7 +37,7 @@ export type AnalysisData = {
salesTypeDataOnline: VisitDataType[];
salesTypeDataOffline: VisitDataType[];
radarData: DataItem[];
}
};

export type GeographicType = {
province: {
Expand Down
2 changes: 1 addition & 1 deletion ListBasicList/src/_mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function fakeList(count: number): BasicListItemDataType[] {
let sourceData: BasicListItemDataType[] = [];

function getFakeList(req: Request, res: Response) {
const params = req.query as any
const params = req.query as any;

const count = Number(params.count) * 1 || 20;

Expand Down
6 changes: 5 additions & 1 deletion ListBasicList/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ export const PAGE_NAME_UPPER_CAMEL_CASE: FC = () => {
const [visible, setVisible] = useState<boolean>(false);
const [current, setCurrent] = useState<Partial<BasicListItemDataType> | undefined>(undefined);

const { data: listData, loading, mutate } = useRequest(() => {
const {
data: listData,
loading,
mutate,
} = useRequest(() => {
return queryFakeList({
count: 50,
});
Expand Down
2 changes: 1 addition & 1 deletion ListSearchApplications/src/data.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ export interface ListItemDataType {
message: number;
content: string;
members: Member[];
};
}
2 changes: 1 addition & 1 deletion ListSearchArticles/src/data.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ export interface ListItemDataType {
message: number;
content: string;
members: Member[];
};
}
2 changes: 1 addition & 1 deletion ListSearchProjects/src/data.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ export interface ListItemDataType {
message: number;
content: string;
members: Member[];
};
}
2 changes: 1 addition & 1 deletion ProfileBasic/src/data.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ export type BasicProgress = {
status: string;
operator: string;
cost: string;
}
};

0 comments on commit 55b62bc

Please sign in to comment.