fix: 前端打包报错

This commit is contained in:
shaohuzhang1 2024-04-02 19:37:20 +08:00
parent 11d8c6f174
commit fbd9dcb607
2 changed files with 1 additions and 9 deletions

View File

@ -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)
}

View File

@ -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,