提交 88d360b0 编写于 作者: M mehaotian

fix(stat): 隐藏统计提示

上级 1f40db30
...@@ -68,18 +68,14 @@ var index = () => [ ...@@ -68,18 +68,14 @@ var index = () => [
isEnable = false; isEnable = false;
} }
else { else {
if (!statConfig.version) { if (!statConfig.version) ;
uniStatLog(uniCliShared.M['stat.warn.version']);
}
else { else {
uniStatLog(`已开启 uni统计${statVersion}.0 版本`); uniStatLog(`已开启 uni统计${statVersion}.0 版本`);
} }
} }
} }
else { else {
if (!statConfig.version) { if (!statConfig.version) ;
uniStatLog(uniCliShared.M['stat.warn.version']);
}
else { else {
uniStatLog(uniCliShared.M['stat.warn.tip'].replace('{version}', `${statVersion}.0`)); uniStatLog(uniCliShared.M['stat.warn.tip'].replace('{version}', `${statVersion}.0`));
} }
......
...@@ -66,14 +66,14 @@ export default () => [ ...@@ -66,14 +66,14 @@ export default () => [
isEnable = false isEnable = false
} else { } else {
if (!statConfig.version) { if (!statConfig.version) {
uniStatLog(M['stat.warn.version']) // uniStatLog(M['stat.warn.version'])
} else { } else {
uniStatLog(`已开启 uni统计${statVersion}.0 版本`) uniStatLog(`已开启 uni统计${statVersion}.0 版本`)
} }
} }
} else { } else {
if (!statConfig.version) { if (!statConfig.version) {
uniStatLog(M['stat.warn.version']) // uniStatLog(M['stat.warn.version'])
} else { } else {
uniStatLog( uniStatLog(
M['stat.warn.tip'].replace('{version}', `${statVersion}.0`) 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.
先完成此消息的编辑!
想要评论请 注册