From 8566038c444ea4f881a7cfd433021d404071811a Mon Sep 17 00:00:00 2001 From: lenghui Date: Thu, 5 Dec 2024 11:12:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=AD=A3=E7=A1=AE=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=8A=B6=E6=80=81=E7=A0=81=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=9B=B4=E6=92=AD=E5=88=97=E8=A1=A8=E6=95=B0=E6=8D=AE=E5=B1=82?= =?UTF-8?q?=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vueHomilyLink/src/views/LiveView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vueHomilyLink/src/views/LiveView.vue b/vueHomilyLink/src/views/LiveView.vue index 5571872..56400e5 100644 --- a/vueHomilyLink/src/views/LiveView.vue +++ b/vueHomilyLink/src/views/LiveView.vue @@ -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('获取直播列表失败');