校园-江西科技师范大学-前端
shuishen
2023-12-04 bf9ae048b9006d58f29674b9d70ee01d8e3c0b59
src/components/mobileLeftNav/index.vue
@@ -271,12 +271,31 @@
        //   });
        // },
        initialize () {
        initialize (campus) {
            var that = this
            this.leftNavData[0].flag = true
            this.leftNavData[0].img = this.leftNavData[0].checked
            this.leftNavData[4].flag = true
            this.leftNavData[4].img = this.leftNavData[4].checked
            this.leftNavBQ.setVisible(true)
            this.leftNavCR.setVisible(true)
            this.leftNavBQ.getSource().clear()
            this.leftNavDL.getSource().clear()
            this.leftNavSJ.getSource().clear()
            this.leftNavHD.getSource().clear()
            this.leftNavTC.getSource().clear()
            this.leftNavCR.getSource().clear()
            var that = this
            const ourNum = that.leftNavData.length
            for (let n = 0; n < ourNum; n++) {
                const ourD = that.leftNavData[n]
                const d = ourD.type ? { lifetype: ourD.type } : {}
                const d = ourD.type ? { lifetype: ourD.type, campus } : {
                    campus
                }
                ourD.methods(d).then((res) => {
                    let imgUrl = null
                    let sateName = null