Skip to content

vue3 import script fail #53

@lastsupper7ii

Description

@lastsupper7ii
(function(a, b, c, d) {
    let h = b.getElementsByTagName('head')[0];let s = b.createElement('script');
    s.type = 'text/javascript';s.src = c+"/static/js/kefu-front.js";s.onload = s.onreadystatechange = function () {
        if (!this.readyState || this.readyState === "loaded" || this.readyState === "complete") d(c);
    };h.appendChild(s);
})(window, document,"http://127.0.0.1:8081",function(u){
    KEFU.init({
        KEFU_URL:u,
        KEFU_KEFU_ID: "agent",
    })
});

点击弹窗提示error,好像是js的init没有成功

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions