|
@@ -305,10 +305,9 @@ export default defineComponent({
|
|
|
// 更新时间
|
|
|
const updateStat = async (pageBrowseTime = 10) => {
|
|
|
try {
|
|
|
- const videoBrowseData =
|
|
|
- moreTime.value.length > 0 ? formatEffectiveTimeToAfter(moreTime.value) : []
|
|
|
+ const videoBrowseData = moreTime.value.length > 0 ? formatEffectiveTime(moreTime.value) : []
|
|
|
// console.log(moreTime.value, videoBrowseData, 'video')
|
|
|
- const time = moreTime.value.length > 0 ? formatTimer(videoBrowseData) : 0
|
|
|
+ const time = videoBrowseData.length > 0 ? formatTimer(videoBrowseData) : 0
|
|
|
// const videoCountTime = videoIntervalRef?.counter.value
|
|
|
// 判断如何视屏播放时间大于视屏播放有效时间则说明数据有问题,进行重置数据
|
|
|
const rate = Math.floor((time / Math.floor(forms.pointVideoTime)) * 100)
|