谢杰标 2 年之前
父节点
当前提交
1554425aca
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      pages3/polyv/detail.vue

+ 4 - 3
pages3/polyv/detail.vue

@@ -2593,7 +2593,7 @@ export default {
       }
       // #endif
 
-      this.recordObj = { videoCurrentTime: item.noteSecond};
+      this.recordObj = { videoCurrentTime: item.noteSecond };
       if (this.recordObj.videoCurrentTime) {
         this.needSeek = true; //需要跳转到播放记录
       }
@@ -2645,8 +2645,8 @@ export default {
           orderGoodsId: this.orderGoodsId,
         };
         this.$api.recordLast(data).then((res) => {
-          if(res.data.data.videoCurrentTime>3){
-            res.data.data.videoCurrentTime-=3
+          if (res.data.data.videoCurrentTime > 3) {
+            res.data.data.videoCurrentTime -= 3;
           }
           resolve(res.data.data);
         });
@@ -4051,6 +4051,7 @@ export default {
         content:
           "课程学习需要开启摄像头进行拍照,经检测您的设备无摄像头可使用,请检测环境是否支持。",
         cancelText: "取消",
+        showCancel: false,
         confirmText: "确定",
         success: (res) => {
           if (res.confirm) {