ucservice 1.4.9 → 1.5.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.4.9",
4
+ "version": "1.5.0",
5
5
  "description": "统一通信服务",
6
6
  "main": "dist/ucservice.common.js",
7
7
  "style": "ucservice.css",
@@ -1603,8 +1603,11 @@
1603
1603
  //设置旋转视频的样式
1604
1604
  for(let k = 0; k < _li.length; k++){
1605
1605
  let rotateIndex = _li.eq(k).find('button[name=rotateVideo]').attr('rotate-index');
1606
- if(rotateIndex != 0 && rotateIndex != 2)
1607
- me.videoRotateSize(_li.eq(k)[0], rotateIndex);
1606
+ if(rotateIndex != 0 && rotateIndex != 2){
1607
+ setTimeout(() => {
1608
+ me.videoRotateSize(_li.eq(k)[0], rotateIndex);
1609
+ }, 200);
1610
+ }
1608
1611
  }
1609
1612
 
1610
1613
  },