|
|
@ -41,8 +41,8 @@ const liveList = ref({}); |
|
|
|
function getLive() { |
|
|
|
liveApi.getLiveList() |
|
|
|
.then(resp => { |
|
|
|
if(resp.code == 0){ |
|
|
|
liveList.value = resp.data.liveList; |
|
|
|
if(resp.code == 200){ |
|
|
|
liveList.value = resp.data; |
|
|
|
console.log(liveList.value); |
|
|
|
}else{ |
|
|
|
ElMessage.error('获取直播列表失败'); |
|
|
|