解决JQuery MiniUI前端库到期alert弹窗前端
MINIUI的到期提示是经过JS的Alert 方法弹出的。io
那么咱们能够不能够截获全部Alert方法,过滤文本。而后….大家懂得function
咱们只须要在页面底部加入:方法
window.alert = function (e) { if (e != null && e.indexOf(“提示内容”)>-1) { //和谐了 } else { WinAlerts (e); }di
};co