From 43af4903ffd20b241ea257bdbe45025790d4af2d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 04 Dec 2023 16:04:52 +0800
Subject: [PATCH] 校区切换,左侧标签做处理

---
 src/components/leftNav/index.vue |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/components/leftNav/index.vue b/src/components/leftNav/index.vue
index 7a6703a..62346dc 100644
--- a/src/components/leftNav/index.vue
+++ b/src/components/leftNav/index.vue
@@ -269,6 +269,21 @@
         initialize (campus) {
             var that = this
 
+            this.leftNavData[0].flag = true
+            this.leftNavData[0].img = this.leftNavData[0].checked
+            this.leftNavData[5].flag = true
+            this.leftNavData[5].img = this.leftNavData[5].checked
+
+            this.leftNavBQ.setVisible(true)
+            this.leftNavCR.setVisible(true)
+
+            that.leftNavBQ.getSource().clear()
+            that.leftNavDL.getSource().clear()
+            that.leftNavSJ.getSource().clear()
+            that.leftNavHD.getSource().clear()
+            that.leftNavTC.getSource().clear()
+            that.leftNavCR.getSource().clear()
+
             getTagList({ campus }).then((res) => {
                 res.data.data.forEach((item, index) => {
                     let obj = {}

--
Gitblit v1.9.3