瀏覽代碼

限制15s才提交记录

谢杰标 2 年之前
父節點
當前提交
3e490a44cc
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      pages3/polyv/detail.vue

+ 3 - 0
pages3/polyv/detail.vue

@@ -2737,6 +2737,9 @@ export default {
         PlayDuration = polyvPlayerContext.j2s_realPlayVideoTime(); //本次看的时长
         // #endif
       }
+      if (currentTime < 15) {
+        return;
+      }
       if (this.playChannelId > 0) {
         currentTime = 2; //直播无法获取,无论开始结束都传2秒
       }