ez 只能这么说兄弟们
只需要再 App.vue 的onLaunch 加入以下代码
onLaunch: function() {
if (uni.getSystemInfoSync().platform !== "devtools") {
console.log = () => {};
console.info = () => {};
}
console.log('App Launch')
},
ez 只能这么说兄弟们
只需要再 App.vue 的onLaunch 加入以下代码
onLaunch: function() {
if (uni.getSystemInfoSync().platform !== "devtools") {
console.log = () => {};
console.info = () => {};
}
console.log('App Launch')
},