谢杰标 2 роки тому
батько
коміт
613cb9f08c
1 змінених файлів з 6 додано та 1 видалено
  1. 6 1
      pages3/polyv/detail.vue

+ 6 - 1
pages3/polyv/detail.vue

@@ -2875,7 +2875,9 @@ export default {
         PlayDuration = polyvPlayerContext.j2s_realPlayVideoTime(); //本次看的时长
         // #endif
       }
+      currentTime = currentTime || 0;
       if (currentTime < 10 && !this.ossAvatarUrl) {
+        console.log("不提交", currentTime);
         return;
       }
       if (this.playChannelId > 0) {
@@ -3071,7 +3073,10 @@ export default {
     imageInfos() {
       var self = this;
       return new Promise(async (resolve, reject) => {
-        let resPath = await myCompressImage(this.avatarUrl || this.faceUrl, 100);
+        let resPath = await myCompressImage(
+          this.avatarUrl || this.faceUrl,
+          100
+        );
         const waitUpload = await self.uploadFile(resPath, 0);
         resolve(waitUpload);
       });