写代码时,弹窗问题经常非常困扰。单列一篇随笔吧:
// 禁止alert弹窗。 防止错误提醒window.alert = function() { return false;}
参考:https://blog.csdn.net/qq_38334525/article/details/79621177