Skip to content

Commit

Permalink
fix: 前端打包报错
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohuzhang1 committed Apr 2, 2024
1 parent 11d8c6f commit fbd9dcb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion ui/src/api/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const getChatOpen: (applicaiton_id: String) => Promise<Result<any>> = (applicait
* chat_id: string
* data
*/
const postChatMessage: (chat_id: string, data: any) => Promise<any> = (chat_id, message) => {
const postChatMessage: (chat_id: string, data: any) => Promise<any> = (chat_id, data) => {
return postStream(`/api${prefix}/chat_message/${chat_id}`, data)
}

Expand Down
8 changes: 0 additions & 8 deletions ui/src/api/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ const getChatLog: (
loading
)
}
const exportChatLog: (
applicaiton_id: string,
applicantion_name: string,
param: any,
loading?: Ref<boolean>
) => Promise<void> = (applicaiton_id, applicantion_name, param, loading) => {
exportExcel(applicantion_name, `${prefix}/${applicaiton_id}/chat/export`, param, loading)
}

const exportChatLog: (
applicaiton_id: string,
Expand Down

0 comments on commit fbd9dcb

Please sign in to comment.