在created中调用下面函数
clearMapstore() {
localStorage.removeItem("_AMap_vectorlayer");
localStorage.removeItem("_AMap_wgl");
localStorage.removeItem("_AMap_sync");
localStorage.removeItem("_AMap_raster");
localStorage.removeItem("_AMap_overlay");
localStorage.removeItem("_AMap_mouse");
localStorage.removeItem("_AMap_AMap.ToolBar");
localStorage.removeItem("_AMap_AMap.Scale");
localStorage.removeItem("_AMap_AMap.RangingTool");
localStorage.removeItem("_AMap_AMap.PolyEditor");
localStorage.removeItem("_AMap_AMap.PlaceSearch");
localStorage.removeItem("_AMap_AMap.OverView");
localStorage.removeItem("_AMap_AMap.MouseTool");
localStorage.removeItem("_AMap_AMap.MarkerClusterer");
lo