From bda127148b7a03f515b845dead5b70508a7918f7 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 24 Dec 2021 15:41:37 +0800
Subject: [PATCH] 逻辑调整部分文件更换

---
 src/components/arcNavBar/index.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/components/arcNavBar/index.vue b/src/components/arcNavBar/index.vue
index e5f21e2..8ec562e 100644
--- a/src/components/arcNavBar/index.vue
+++ b/src/components/arcNavBar/index.vue
@@ -175,6 +175,7 @@
 
                 var imgArr = result.tpurl.split(',')
                 var tabOne = res.data.data[0].jx.split(',')
+                var tabTwo = res.data.data[0].sh.split(',')
 
                 this.$store.commit('SET_POPUPBGURL', imgArr[0])
                 this.$store.commit('SET_POPUPQRURL', result.codeurl)
@@ -190,7 +191,12 @@
                 } else {
                     this.$store.commit('SET_TEACHLIST', [])
                 }
-                this.$store.commit('SET_LIVELIST', [])
+
+                if (res.data.data[0].sh != '') {
+                    this.$store.commit('SET_LIVELIST', tabTwo)
+                } else {
+                    this.$store.commit('SET_LIVELIST', [])
+                }
 
                 this.newPopup(result)
                 this.viewer.flyToPosition(

--
Gitblit v1.9.3