We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 440ab03 commit 4b7d669Copy full SHA for 4b7d669
src/constants/index.ts
@@ -21,6 +21,10 @@ export const TABS_MAP = {
21
name: '客户端测试',
22
color: 'green',
23
},
24
+ dev: {
25
+ name: '客户端测试',
26
+ color: '#5BD8A6',
27
+ },
28
};
29
30
export type TabType = keyof typeof TABS_MAP;
src/service/topic.ts
@@ -18,7 +18,9 @@ export const queryTopicList = async (params: {
18
19
20
- return request(`${BASE_URL}/api/v1/topics`, options);
+ const res = await request(`${BASE_URL}/api/v1/topics`, options);
+ res.data = res.data.filter((item: any) => item?.author?.loginname);
+ return res;
export const postTopic = async (data: {
0 commit comments