10 2021 档案
前端错误日志的收集
摘要:直接方式有 try...catch 和 window.onerror(addEventListener) 两种 try { init(); // code... } catch(e){ Reporter.send(format(e)); } /** * @param {String} errorMe 阅读全文
posted @ 2021-10-14 21:46 某个程序爱好者 阅读(433) 评论(0) 推荐(0)