|
@@ -107,7 +107,7 @@
|
|
:autoplayMuted="false"
|
|
:autoplayMuted="false"
|
|
:poster="videoDetail.data.image"
|
|
:poster="videoDetail.data.image"
|
|
@onClickOption="onClickOption"
|
|
@onClickOption="onClickOption"
|
|
- @reload="reload"
|
|
|
|
|
|
+ @onReload="reload"
|
|
/>
|
|
/>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</div>
|
|
</div>
|
|
@@ -254,7 +254,7 @@ const onClickOption = (option) => {
|
|
|
|
|
|
// 重播返回第一个视频
|
|
// 重播返回第一个视频
|
|
const reload = (url) => {
|
|
const reload = (url) => {
|
|
- let videoData = videoSource.value.filter((i) => i.data && i.data.url === url)[0]
|
|
|
|
|
|
+ let videoData = videoSource.value.filter((i) => i.data && i.data.uri === url)[0]
|
|
videoDetail.value = videoData
|
|
videoDetail.value = videoData
|
|
}
|
|
}
|
|
|
|
|