Commit ad883575ce525a4e9bd8613311c9866b961c5e54
1 parent
15225eea
重写console
Showing
1 changed file
with
7 additions
and
0 deletions
src/js/util/util.js
| @@ -40,3 +40,10 @@ getCDNFile = function (cdnUrl) { | @@ -40,3 +40,10 @@ getCDNFile = function (cdnUrl) { | ||
| 40 | } | 40 | } |
| 41 | $w.utils = $w.utils || utils; | 41 | $w.utils = $w.utils || utils; |
| 42 | })(window, jQuery) | 42 | })(window, jQuery) |
| 43 | + | ||
| 44 | + | ||
| 45 | +window.console.log = function(){ | ||
| 46 | +} | ||
| 47 | +window.console.info = function(){ | ||
| 48 | +} | ||
| 49 | + |