ucservice 1.5.7 → 1.5.8

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.7",
4
+ "version": "1.5.8",
5
5
  "description": "统一通信服务",
6
6
  "main": "dist/ucservice.common.js",
7
7
  "style": "ucservice.css",
@@ -1666,7 +1666,8 @@
1666
1666
  let tel = item.video
1667
1667
  if (!tel&&item.id) {
1668
1668
  videoLi[index].querySelector('video').style = ''
1669
- videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0)
1669
+ if(videoLi[index].querySelector('.rotate-btn'))
1670
+ videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0)
1670
1671
  }
1671
1672
  })
1672
1673
  }