shuishen
2023-04-04 b9a69872196844844a311aba809a0d24415be2de
关闭模型处理
2 files modified
17 ■■■■ changed files
src/components/map/index.vue 15 ●●●●● patch | view | raw | blame | history
src/views/activity/index.vue 2 ●●● patch | view | raw | blame | history
src/components/map/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 17:00:30
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-04-04 18:15:20
 * @LastEditTime: 2023-04-04 18:18:42
 * @FilePath: \srs-police-affairs\src\components\map\index.vue
 * @Description: 公用地图组件
 * 
@@ -501,11 +501,6 @@
        this.$EventBus.$on('removeMxTileset', (params) => {
            // eslint-disable-next-line no-unused-vars
            that.removeMxTileset(params.titlesetName)
        })
        this.$EventBus.$on('activeControlRemoveTileset', () => {
            // eslint-disable-next-line no-unused-vars
            that.activeControlRemoveTileset()
        })
        this.$EventBus.$on('flytoLayer', (params) => {
@@ -1096,14 +1091,6 @@
            }
            cb(true)
        },
        activeControlRemoveTileset () {
            label.forEach(item => {
                this.removeMxTileset(`sdTilesetLayer${item}`)
            })
            this.tilesetLayerType = ''
        },
        /**
src/views/activity/index.vue
@@ -487,7 +487,7 @@
         * @return {*}
         */
        activityListClick (item, index) {
            item.plotType == 1 && this.$EventBus.$emit('activeControlRemoveTileset')
            item.plotType == 1 && this.$EventBus.$emit('closeMxTileset')
            item.plotType == 3 && this.$EventBus.$emit('highOrLightChange', 'light', 'default')
            // 当前选中的ID