mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
fix
This commit is contained in:
@@ -18,7 +18,7 @@ export default function Coze() {
|
||||
await loadExternalResource(cozeSrc)
|
||||
const CozeWebSDK = window?.CozeWebSDK
|
||||
if (CozeWebSDK) {
|
||||
new CozeWebSDK.WebChatClient({
|
||||
const cozeClient = new CozeWebSDK.WebChatClient({
|
||||
config: {
|
||||
bot_id: botId
|
||||
},
|
||||
@@ -26,6 +26,7 @@ export default function Coze() {
|
||||
title: title
|
||||
}
|
||||
})
|
||||
console.log('coze', cozeClient)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user