ucservice 1.5.9 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ucservice",
3
3
  "private": false,
4
- "version": "1.5.9",
4
+ "version": "1.6.0",
5
5
  "description": "统一通信服务",
6
6
  "main": "dist/ucservice.common.js",
7
7
  "style": "ucservice.css",
@@ -1667,9 +1667,11 @@
1667
1667
  me.VIDEO_DATA.forEach((item, index) => {
1668
1668
  let tel = item.video
1669
1669
  if (!tel&&item.id) {
1670
- videoLi[index].querySelector('video').style = ''
1670
+ if(videoLi[index]){
1671
+ videoLi[index].querySelector('video').style = ''
1671
1672
  if(videoLi[index].querySelector('.rotate-btn'))
1672
1673
  videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0)
1674
+ }
1673
1675
  }
1674
1676
  })
1675
1677
  }