vue 兼容 ie9+,console最终祸首

全局去掉 console

/* webpack.config.js 的 plugins 里面加上 drop_debugger: true, drop_console: true */

new webpack.optimize.UglifyJsPlugin({

    compress:{ warnings: false, drop_debugger: true, drop_console: true } }) 

你可能感兴趣的:(vue 兼容 ie9+,console最终祸首)