作业视频信息问题修改

This commit is contained in:
wangyan21 2023-11-20 09:45:49 +08:00
parent 6af9839e96
commit 64ae7bab4a

View File

@ -189,6 +189,16 @@
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
<el-dialog title :visible="isShow" width="600px" @close="closeDialog" class="videoBox">
<video
:src="videoUrl"
controls
autoplay
class="video"
width="100%"
></video>
</el-dialog>
</div>
</template>
@ -268,12 +278,12 @@ export default {
},
methods: {
//
playVideo (row) {
playVideo(row) {
this.isShow = true
// src
let url1 = row.videoUrl;
// this.videoUrl=this.baseUrl+"/profile/upload/2023/10/24/_20231024154211A001.mp4";
this.videoUrl=this.baseUrl+url1;
this.videoUrl = this.baseUrl + url1;
},
/**
* 关闭视频