From 7c2874099472b5f141789e578d09d25d34d8bb69 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 19 Oct 2023 09:09:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/scene/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/scene/index.vue b/src/views/scene/index.vue index b9bde2a..23b97fc 100644 --- a/src/views/scene/index.vue +++ b/src/views/scene/index.vue @@ -66,14 +66,14 @@ const orderList = ref([]); const loadOrderList = ()=>{ axios.get('https://chat.lihaink.cn/index/demo1').then((res)=>{ orderList.value = res.data.data; - if(orderList.value[3].type==1){ + if(orderList.value[0].type==1){ isVideo.value = false; showIframe.value = true; - iframeSRC.value = orderList.value[3].uri; + iframeSRC.value = orderList.value[0].uri; }else { isVideo.value = true; showIframe.value = false; - MP4SRC.value = orderList.value[3].uri; + MP4SRC.value = orderList.value[0].uri; nextTick(()=>{ videoRef.value.play(); })