fix: 前端打包报错
This commit is contained in:
parent
11d8c6f174
commit
fbd9dcb607
@ -170,7 +170,7 @@ const getChatOpen: (applicaiton_id: String) => Promise<Result<any>> = (applicait
|
|||||||
* chat_id: string
|
* chat_id: string
|
||||||
* data
|
* 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)
|
return postStream(`/api${prefix}/chat_message/${chat_id}`, data)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -29,14 +29,6 @@ const getChatLog: (
|
|||||||
loading
|
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: (
|
const exportChatLog: (
|
||||||
applicaiton_id: string,
|
applicaiton_id: string,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user