From 296d2e088a8805efeb5a18024d24efbe955a8ff2 Mon Sep 17 00:00:00 2001 From: mehaotian <490272692@qq.com> Date: Thu, 28 Apr 2022 12:09:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(stat):=20=E9=9A=90=E8=97=8F=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/vue-cli-plugin-uni/lib/env.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/vue-cli-plugin-uni/lib/env.js b/packages/vue-cli-plugin-uni/lib/env.js index cbb89f733a..8cb879019f 100644 --- a/packages/vue-cli-plugin-uni/lib/env.js +++ b/packages/vue-cli-plugin-uni/lib/env.js @@ -341,10 +341,11 @@ if ( console.log() } else { if (!uniStatistics.version) { - console.log() - console.warn(uniI18n.__('pluginUni.uniStatisticsNoVersion', { - 0: 'https://uniapp.dcloud.io/uni-stat-v2.html' - })) + // console.log() + // console.warn(uniI18n.__('pluginUni.uniStatisticsNoVersion', { + // 0: 'https://uniapp.dcloud.io/uni-stat-v2.html' + // })) + // console.log() } else { console.log() console.warn(`已开启 uni统计${uniStatistics.version}.0 版本`) @@ -353,10 +354,11 @@ if ( } } else { if (!uniStatistics.version) { - console.log() - console.warn(uniI18n.__('pluginUni.uniStatisticsNoVersion', { - 0: 'https://uniapp.dcloud.io/uni-stat-v2.html' - })) + // console.log() + // console.warn(uniI18n.__('pluginUni.uniStatisticsNoVersion', { + // 0: 'https://uniapp.dcloud.io/uni-stat-v2.html' + // })) + // console.log() } else { console.log() console.warn(`已开启 uni统计${uniStatistics.version}.0 版本`) -- GitLab