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