fixed:ios女首页面跳转分类后依然上报focus
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -169,7 +169,7 @@ export default { | @@ -169,7 +169,7 @@ export default { | ||
169 | this.checkReport(); | 169 | this.checkReport(); |
170 | }, | 170 | }, |
171 | focusComponentDataRecord(index, param) { | 171 | focusComponentDataRecord(index, param) { |
172 | - if (this.componentStatus[index]) { | 172 | + if (this.componentStatus[index] && document.visibilityState === 'visible') { |
173 | this.waiting.push(param); | 173 | this.waiting.push(param); |
174 | } | 174 | } |
175 | } | 175 | } |
-
Please register or login to post a comment