提交 040b93e5 编写于 作者: M mehaotian

fix(stat): 修复微信小程序未配置安全域名导致请求报错问题

上级 a7d83593
......@@ -380,12 +380,9 @@ const requestData = (done) => {
if (report_status_code === '') {
report_status_code = 1
}
if (report_status_code === 1) {
typeof done === 'function' && done({
enable: res.enable
})
}
// console.error('统计请求错误');
typeof done === 'function' && done({
enable: report_status_code
})
}
});
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册