Skip to content

Commit fbd9dcb

Browse files
committed
fix: 前端打包报错
1 parent 11d8c6f commit fbd9dcb

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

ui/src/api/application.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const getChatOpen: (applicaiton_id: String) => Promise<Result<any>> = (applicait
170170
* chat_id: string
171171
* data
172172
*/
173-
const postChatMessage: (chat_id: string, data: any) => Promise<any> = (chat_id, message) => {
173+
const postChatMessage: (chat_id: string, data: any) => Promise<any> = (chat_id, data) => {
174174
return postStream(`/api${prefix}/chat_message/${chat_id}`, data)
175175
}
176176

ui/src/api/log.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ const getChatLog: (
2929
loading
3030
)
3131
}
32-
const exportChatLog: (
33-
applicaiton_id: string,
34-
applicantion_name: string,
35-
param: any,
36-
loading?: Ref<boolean>
37-
) => Promise<void> = (applicaiton_id, applicantion_name, param, loading) => {
38-
exportExcel(applicantion_name, `${prefix}/${applicaiton_id}/chat/export`, param, loading)
39-
}
4032

4133
const exportChatLog: (
4234
applicaiton_id: string,

0 commit comments

Comments
 (0)