ucservice 1.4.2 → 1.4.3

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.2",
4
+ "version": "1.4.3",
5
5
  "description": "统一通信服务",
6
6
  "main": "dist/ucservice.common.js",
7
7
  "style": "ucservice.css",
@@ -2205,7 +2205,8 @@
2205
2205
  videoFlagObj.find('button[name=rotateVideo]').click(function(){
2206
2206
  let rotateIndex = Number($(this).attr("rotate-index"));
2207
2207
  rotateIndex++
2208
- $(this).attr("rotate-index", rotateIndex % 4);
2208
+ rotateIndex %= 4
2209
+ $(this).attr("rotate-index", rotateIndex);
2209
2210
  let li = $(this).parent().parent()[0];
2210
2211
  me.videoRotateSize(li, rotateIndex)
2211
2212
  })