校园-江西科技师范大学-前端
shuishen
2023-12-04 43af4903ffd20b241ea257bdbe45025790d4af2d
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 = {}