去除正式版打印

static-project
Lee1203 2022-08-10 14:10:15 +08:00
parent 9bd9c2993a
commit 15d62e14ad
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@ Vue.prototype.$toolAll = tools;
import requst from '@/jsFile/requst.js';
Vue.prototype.$requst = requst;
//不显示console.log
if (uni.getSystemInfoSync().platform !== "devtools") {
console.log = () => {}
}
App.mpType = 'app';
const app = new Vue({