zhangxiaoxu123
2023-07-06 68858e0a9d9b5bdb76fe597a366d427568e5d50e
src/pages/show/showIndex/showIndex.vue
@@ -82,7 +82,10 @@
        },
        methods: {
            initMap() {
                this.map = new window.BMap.Map("map");
                this.map = new window.BMap.Map("map",{
                    minZoom : 2,
                    maxZoom : 11
                });
                console.log(map,'map===')
                this.map.centerAndZoom(new BMap.Point(118.183450598,39.6505309225), 11)
                //map.enableScrollWheelZoom(true)    //鼠标滚动缩放