mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
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
|
||||
* 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)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue