写在app.vue onLaunch函数里
if (uni.getSystemInfoSync().platform !== "devtools") { console.log = () => {} }