异步请求时有时会让js不起作用,那么重新加载js

function reloadSmartMenu() {
    var jsElem = document.createElement('script');
    jsElem.src= path+'/system/config/js/reloadStat.js';
    document.getElementsByTagName('head')[0].appendChild(jsElem);
}
原文地址:https://www.cnblogs.com/sun-space/p/5561407.html