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