禁用console

小林222發表於2024-03-07
//禁用console
  window.console = {
        log: function(){},
        error: function(){},
        info: function(){},
        warn: function(){},
        debug: function(){}
    };

  

相關文章