初始化地图的时候 var map = new BMap.Map('mymap') 报错: Bmap is not defined 在eslintrc.js中进行全局声明 globals: { BMap: true }