Commit 98fc178a authored by 高宇's avatar 高宇

优化代码 状态问题

parent 286d6189
...@@ -49,7 +49,7 @@ Viewer.setDefaults({ ...@@ -49,7 +49,7 @@ Viewer.setDefaults({
}) })
// 打包清除所有console.log // 打包清除所有console.log
if (process.env.NODE_ENV === 'development') { if (process.env.NODE_ENV === 'production') {
if (window) { if (window) {
window.console.log = function() {} window.console.log = function() {}
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment