From 4cecf6ec769128ebf24f11f112e871b73041ad95 Mon Sep 17 00:00:00 2001 From: Lyon1994 Date: Mon, 26 Dec 2022 11:36:31 +0800 Subject: [PATCH] =?UTF-8?q?[=20fix=20bug=20]=20=E4=BF=AE=E5=A4=8D=E5=88=86?= =?UTF-8?q?=E5=B1=8F=E6=92=AD=E6=94=BE=E6=97=A0=E6=95=88=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98,=E8=BF=99=E6=98=AF=E4=B8=80=E4=B8=AAjson=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_src/src/components/live.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/live.vue b/web_src/src/components/live.vue index fcf1d59e..4a7af491 100644 --- a/web_src/src/components/live.vue +++ b/web_src/src/components/live.vue @@ -140,9 +140,9 @@ export default { if (res.data.code === 0 && res.data.data) { let videoUrl; if (location.protocol === "https:") { - videoUrl = res.data.data.wss_flv.url; + videoUrl = res.data.data.wss_flv; } else { - videoUrl = res.data.data.ws_flv.url; + videoUrl = res.data.data.ws_flv; } itemData.playUrl = videoUrl; that.setPlayUrl(videoUrl, idxTmp);