guanqb
2023-04-23 4bcad828873db1b4fc67de71d8fefa53675547f8
src/views/activity/components/publicIndex.vue
@@ -318,6 +318,8 @@
            // 加载当前活动区域
            if (params.item.activityArea && params.item.activityArea.length > 0) {
                console.log(params.item.activityArea, 36223322)
                let polyGonData = params.item.activityArea.slice(11, params.item.activityArea.length - 1)
                polyGonData = polyGonData.replace(/,/g, ";")
                polyGonData = polyGonData.replace(/ /g, ",")
@@ -332,7 +334,7 @@
                console.log(newPolyData, 456)
                this.$EventBus.$emit('layerWallAdd', {
                this.$EventBus.$emit('rowLayerWallAdd', {
                    layerName: 'polygonWallLayer',
                    positions: newPolyData
                })