Commit c31eedea authored by 郭志伟's avatar 郭志伟

"style: lint修复"

parent 616867c9
This diff is collapsed.
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
// 滑动到当前元素时,其他video都暂停,只播放当前video // 滑动到当前元素时,其他video都暂停,只播放当前video
this._videoContexts.forEach(function (ctx, index) { this._videoContexts.forEach(function (ctx, index) {
if (ctx) { if (ctx) {
const showType = that.curQueue[current] && that.curQueue[current].showType && that.curQueue[current].showType.value == 2; const showType = that.curQueue[current] && that.curQueue[current].showType && that.curQueue[current].showType.value === 2;
if (index === current || showType) { if (index === current || showType) {
ctx.play(); ctx.play();
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment