时间:2021-07-01 10:21:17 帮助过:6人阅读
window.console = window.console || (function(){
var c = {}; c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile = c.clear = c.exception = c.trace = c.assert = function(){};
return c;
})();
然后项目就可以运行了。 搜索之后发现是ie9的对于console的定义问题造成。