Browse Source
update main.js.
Signed-off-by: 陈凯楠 <1403191743@qq.com>
dev
陈凯楠
3 years ago
committed by
Gitee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with
5 additions and
0 deletions
-
main.js
|
|
@ -7,6 +7,11 @@ import '@/static/js/CommonFunction.js' |
|
|
|
|
|
|
|
Vue.config.productionTip = false |
|
|
|
|
|
|
|
// 去除生产环境console
|
|
|
|
if (uni.getSystemInfoSync().platform !== "devtools") { |
|
|
|
console.log = () => {} |
|
|
|
} |
|
|
|
|
|
|
|
App.mpType = 'app' |
|
|
|
|
|
|
|
const app = new Vue({ |
|
|
|