摘要: function rewriteLog(){ console.log = (function (log){ return process.env.NODE_ENV == 'development' ? log : function(){} })(console.log) } 阅读全文
posted @ 2020-11-20 21:36 671_MrSix 阅读(167) 评论(0) 推荐(0) 编辑