问题描述
我正在通过Webchat在我的SAPUI5应用程序上使用Sap Conversational AI。我在应用程序Component.js上添加了Webchat脚本。它工作正常,但聊天图标覆盖了应用程序的页脚,我无法使其拖动。
这是component.js代码;
if ( !document.getElementById("chat-bot" )) {
var s = document.createElement("script");
s.setAttribute("id","chat-bot");
s.setAttribute("src","https://cdn.cai.tools.sap/webchat/webchat.js");
document.getElementsByTagName('head')[0].appendChild(s);
}
s.setAttribute("channelId","XXXXX-XXXX-XXXX-XXXXX-XXXXXXX");
s.setAttribute("token","XXXXXXXXXXXXXXXXXXXXXXXX");
任何人都知道如何使其可拖动或将图标放在页脚上吗?