avatar
kshao
免费服务器,kshao-blog,seo,面试题,前端,vue,react,JavaScript,js,html,css,less
Follow Me
公告
在线工具例如 获取 bdy key 等,可在线搜索哦~
| "" Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value)) newScript.appendChild(document.createTextNode(content)) item.parentNode.replaceChild(newScript, item) }) triggerPjaxFn(window.globalFn.pjaxComplete) }) document.addEventListener('pjax:error', e => { if (e.request.status === 404) { pjax.loadUrl('/404.html') } }) })()