提交 01219a0f 编写于 作者: M mehaotian

fix(uni-stat): 修复版本信息输出错误

上级 819ae541
......@@ -350,12 +350,19 @@ if (
console.warn(`已开启 uni统计${uniStatistics.version}.0 版本`)
console.log()
}
} else {
if (!uniStatistics.version) {
console.log()
console.warn(uniI18n.__('pluginUni.uniStatisticsNoVersion', {
0: 'https://uniapp.dcloud.io/uni-stat-v2.html'
}))
} else {
console.log()
console.warn(`已开启 uni统计${uniStatistics.version}.0 版本`)
console.log()
}
}
}
}
if (process.env.UNI_USING_COMPONENTS) { // 是否启用分包优化
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册