is Github address: https://github.com/hrwhisper/.,
cloned this locally into the file and introduced it in the code, but reported an error
if (!this.hasBaidu) {
this.hasBaidu = true;
window._bd_share_config = {
common: {
bdText: document.title,
bdUrl: window.location.href,
},
share: [{
tag: "share_0",
bdSize: 24
}],
};
const s = document.createElement("script");
s.type = "text/javascript";
the following code is the modified
s.src ="/.. /.. / static/api/js/share.js?v=89860593.js?cdnversion=" + ~ (- new Date () / 36e5);
document.body.appendChild(s);
}
Click and report an error _ id.vue?64e7:349 GET http://127.0.0.1:3000/static/api/js/share.js?v=89860593.js?cdnversion=424185 404 (OK)
http://127.0.0.1:3000vue