|
|
@@ -25,6 +25,7 @@ |
|
|
|
:isData="true" |
|
|
|
width="300px" |
|
|
|
:data="videoList" |
|
|
|
:key="videoKey" |
|
|
|
@change="changeVideo" |
|
|
|
> |
|
|
|
</TreeFilter> |
|
|
@@ -129,10 +130,12 @@ function changeGroup(val: number | string) { |
|
|
|
getVideoList(val) |
|
|
|
} |
|
|
|
const videoList = ref<any>(); |
|
|
|
const videoKey = ref<any>(); |
|
|
|
function getVideoList(id:any) { |
|
|
|
console.log(id,11) |
|
|
|
setTimeout(async () => { |
|
|
|
await monitorLIVEApi.list({ pageNum: 1, pageSize: 1000, groupId:id }).then(res => { |
|
|
|
videoKey.value = new Date().getTime(); |
|
|
|
videoList.value = res.data.list; |
|
|
|
}); |
|
|
|
}); |
|
|
|