校园-江西科技师范大学-前端
shuishen
2023-12-04 75caf8524a5934b16176764f8d56d77d11cd4d2c
src/components/leftNav/index.vue
@@ -152,7 +152,6 @@
        })
    },
    inject: ["layoutElement"],
    watch: {
        calenderShow: {
            handler (newData, oldData) {
@@ -206,12 +205,6 @@
                }
            },
            immediate: true
        },
        'layoutElement.campusValue': {
            handler (newData) {
                console.log(newData, 99911)
            }
        }
    },
    methods: {
@@ -273,10 +266,10 @@
            }
        },
        initialize () {
        initialize (campus) {
            var that = this
            getTagList().then((res) => {
            getTagList({ campus }).then((res) => {
                res.data.data.forEach((item, index) => {
                    let obj = {}
                    if (item.x && item.x != '') {
@@ -325,7 +318,7 @@
                })
            })
            getWayList().then((res) => {
            getWayList({ campus }).then((res) => {
                res.data.data.forEach((item) => {
                    let obj = {}
                    if (item.x && item.x != '') {
@@ -403,7 +396,7 @@
            //     })
            // })
            getSceneList().then((res) => {
            getSceneList({ campus }).then((res) => {
                res.data.data.records.forEach((item) => {
                    let obj = {}
                    if (item.x && item.x != '') {
@@ -466,7 +459,7 @@
                })
            })
            getLifeList({ lifetype: 11 }).then((res) => {
            getLifeList({ lifetype: 11, campus }).then((res) => {
                res.data.data.forEach((item) => {
                    let obj = {}
                    if (item.x && item.x != '') {
@@ -507,7 +500,7 @@
                })
            })
            getLifeList({ lifetype: 12 }).then((res) => {
            getLifeList({ lifetype: 12, campus }).then((res) => {
                res.data.data.forEach((item) => {
                    let obj = {}
                    if (item.x && item.x != '') {