提交 fc45c4f2 编写于 作者: M mehaotian

chore(stat): update stat log

上级 73ddefcb
......@@ -1167,7 +1167,7 @@ class Report {
sendRequest(optionsData) {
{
if (!uni.__stat_uniCloud_space) {
console.error('当前尚未关联服务空间.');
console.error('应用未关联服务空间,统计上报失败,请在uniCloud目录右键关联服务空间.');
return
}
......@@ -1254,10 +1254,6 @@ class Stat extends Report {
// '=== 当前绑定的统计服务空间spaceId:' +
// uni.__stat_uniCloud_space.config.spaceId
// )
} else {
console.error(
'当前尚未关联统计服务空间,请先在manifest.json中配置服务空间!'
);
}
}
}
......@@ -1474,7 +1470,7 @@ function main() {
if (is_debug) {
{
// #ifndef APP-NVUE
console.log('=== uni统计开启,version:2.0');
console.log('=== uni统计开启,version:2.0 ===');
// #endif
}
load_stat();
......
......@@ -1165,7 +1165,7 @@ class Report {
sendRequest(optionsData) {
{
if (!uni.__stat_uniCloud_space) {
console.error('当前尚未关联服务空间.');
console.error('应用未关联服务空间,统计上报失败,请在uniCloud目录右键关联服务空间.');
return
}
......@@ -1252,10 +1252,6 @@ class Stat extends Report {
// '=== 当前绑定的统计服务空间spaceId:' +
// uni.__stat_uniCloud_space.config.spaceId
// )
} else {
console.error(
'当前尚未关联统计服务空间,请先在manifest.json中配置服务空间!'
);
}
}
}
......@@ -1472,7 +1468,7 @@ function main() {
if (is_debug) {
{
// #ifndef APP-NVUE
console.log('=== uni统计开启,version:2.0');
console.log('=== uni统计开启,version:2.0 ===');
// #endif
}
load_stat();
......
......@@ -1440,7 +1440,7 @@ function main() {
if (is_debug) {
{
// #ifndef APP-NVUE
console.log('=== uni统计开启,version:1.0');
console.log('=== uni统计开启,version:1.0 ===');
// #endif
}
load_stat();
......
......@@ -1438,7 +1438,7 @@ function main() {
if (is_debug) {
{
// #ifndef APP-NVUE
console.log('=== uni统计开启,version:1.0');
console.log('=== uni统计开启,version:1.0 ===');
// #endif
}
load_stat();
......
......@@ -551,7 +551,7 @@ export default class Report {
sendRequest(optionsData) {
if (__STAT_VERSION__ === '2') {
if (!uni.__stat_uniCloud_space) {
console.error('当前尚未关联服务空间.')
console.error('应用未关联服务空间,统计上报失败,请在uniCloud目录右键关联服务空间.')
return
}
......
......@@ -34,9 +34,9 @@ class Stat extends Report {
// uni.__stat_uniCloud_space.config.spaceId
// )
} else {
console.error(
'当前尚未关联统计服务空间,请先在manifest.json中配置服务空间!'
)
// console.error(
// '当前尚未关联统计服务空间,请先在manifest.json中配置服务空间!'
// )
}
}
}
......
......@@ -77,12 +77,12 @@ function main() {
if (is_debug) {
if (__STAT_VERSION__ === '1') {
// #ifndef APP-NVUE
console.log('=== uni统计开启,version:1.0')
console.log('=== uni统计开启,version:1.0 ===')
// #endif
}
if (__STAT_VERSION__ === '2') {
// #ifndef APP-NVUE
console.log('=== uni统计开启,version:2.0')
console.log('=== uni统计开启,version:2.0 ===')
// #endif
}
load_stat()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册