Showing
1 changed file
with
5 additions
and
1 deletions
@@ -77,13 +77,15 @@ | @@ -77,13 +77,15 @@ | ||
77 | 77 | ||
78 | {{> download-app}} | 78 | {{> download-app}} |
79 | {{#ifand isProduction wap.open.bughd}} | 79 | {{#ifand isProduction wap.open.bughd}} |
80 | - <script type="text/javascript" src="https://cdn.yoho.cn/tool/bj-report-tryjs.min.js" crossOrigin="anonymous"></script> | 80 | + <script type="text/javascript" src="//cdn.yoho.cn/tool/bj-report-tryjs.min.js?t={{startTime}}" crossOrigin="anonymous"></script> |
81 | <script type="text/javascript"> | 81 | <script type="text/javascript"> |
82 | + if (BJ_REPORT) { | ||
82 | BJ_REPORT.init({ | 83 | BJ_REPORT.init({ |
83 | id: 2, | 84 | id: 2, |
84 | url: "http://118.89.213.12/badjs", | 85 | url: "http://118.89.213.12/badjs", |
85 | ignore: [/Script error/i] | 86 | ignore: [/Script error/i] |
86 | }); | 87 | }); |
88 | + } | ||
87 | </script> | 89 | </script> |
88 | {{/ifand}} | 90 | {{/ifand}} |
89 | {{#wechatShare}} | 91 | {{#wechatShare}} |
@@ -107,7 +109,9 @@ | @@ -107,7 +109,9 @@ | ||
107 | <script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/libs.js?t={{startTime}}"></script> | 109 | <script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/libs.js?t={{startTime}}"></script> |
108 | {{#ifand isProduction wap.open.bughd}} | 110 | {{#ifand isProduction wap.open.bughd}} |
109 | <script> | 111 | <script> |
112 | + if (BJ_REPORT && BJ_REPORT.tryJs()) { | ||
110 | BJ_REPORT.tryJs().spyAll(); | 113 | BJ_REPORT.tryJs().spyAll(); |
114 | + } | ||
111 | </script> | 115 | </script> |
112 | {{/ifand}} | 116 | {{/ifand}} |
113 | <script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/{{module}}.{{page}}.js?t={{startTime}}"></script> | 117 | <script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/{{module}}.{{page}}.js?t={{startTime}}"></script> |
-
Please register or login to post a comment