Showing
1 changed file
with
5 additions
and
1 deletions
@@ -33,7 +33,7 @@ export default { | @@ -33,7 +33,7 @@ export default { | ||
33 | } | 33 | } |
34 | }, | 34 | }, |
35 | ['yoho.visible'](visible) { | 35 | ['yoho.visible'](visible) { |
36 | - if (visible && this.$yoho && this.$yoho.isiOS) { | 36 | + if (visible && this.$yoho) { |
37 | this.checkReport(void 0, true); | 37 | this.checkReport(void 0, true); |
38 | } | 38 | } |
39 | } | 39 | } |
@@ -93,6 +93,10 @@ export default { | @@ -93,6 +93,10 @@ export default { | ||
93 | }); | 93 | }); |
94 | }, | 94 | }, |
95 | record(component, index, isInit) { | 95 | record(component, index, isInit) { |
96 | + if (isInit) { | ||
97 | + this.componentStatus = {}; | ||
98 | + } | ||
99 | + | ||
96 | const reportData = _.get(component, '$options.propsData.value'); | 100 | const reportData = _.get(component, '$options.propsData.value'); |
97 | 101 | ||
98 | // 区分不通组件记录以楼层内item为单位、而不是以整个楼层为单位组织数据上报 | 102 | // 区分不通组件记录以楼层内item为单位、而不是以整个楼层为单位组织数据上报 |
-
Please register or login to post a comment