feat: 完成user-drawer

This commit is contained in:
dap
2024-09-22 18:14:04 +08:00
parent 9b00df3c43
commit e61c3e9058
5 changed files with 140 additions and 17 deletions

View File

@@ -42,5 +42,5 @@ export function postRemove(postIds: IDS) {
}
export function postOptionSelect(deptId: ID) {
return requestClient.get(Api.postSelect, { params: { deptId } });
return requestClient.get<Post[]>(Api.postSelect, { params: { deptId } });
}