includeCSS(file){
const node = document.createElement("link");
node.rel = "stylesheet";
node.href =file;
document.head.appendChild(node);
},
includeJS(file){
const node = document.createElement("script");
node.type = "text/javascript";
node.src = file;
document.head.appendChild(node);
},
this.includeJS("/static/javascript/jquery.fancybox.js");
Vue引入js
最新推荐文章于 2023-07-19 14:54:19 发布