提交 a3c2ba0d 编写于 作者: M mehaotian

fix(stat): 修复不开启统计提示未选择版本的问题

上级 5983f2ee
......@@ -76,10 +76,10 @@ var index = () => [
}
}
else {
if (!statConfig.version) {
uniStatLog(uniCliShared.M['stat.warn.version']);
}
if (isEnable) {
if (!statConfig.version) {
uniStatLog(uniCliShared.M['stat.warn.version']);
}
uniStatLog(uniCliShared.M['stat.warn.tip'].replace('{version}', `${statVersion}.0`));
}
}
......
......@@ -71,10 +71,10 @@ export default () => [
}
}
} else {
if (!statConfig.version) {
uniStatLog(M['stat.warn.version'])
}
if (isEnable) {
if (!statConfig.version) {
uniStatLog(M['stat.warn.version'])
}
uniStatLog(
M['stat.warn.tip'].replace('{version}', `${statVersion}.0`)
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册