problem description
when vue-element-admin introduces vue-baidu-map, there will be problems with global or local registration. Mouse wheel scrolling will zoom in and out and shift on the map. It should be a set central point to zoom in and out of the map, and there will be position deviation when using panorama. The mouse does not have panoramic gestures
.the environmental background of the problems and what methods you have tried
mac and win both have the same problem
related codes
/ / Please paste the code text below (do not replace the code with pictures)
related code
< baidu-map class= "map bm-view" ak= ": center=" {lng: 116.404, lat: 39.915} ": zoom=" 15 ": scroll-wheel-zoom=" true ">
import BaiduMap from "vue-baidu-map"
.bm-view {
width: 100%;
height: 500px;
}
what result do you expect? What is the error message actually seen?
have any students encountered the same problem? It should be the easiest way to write