// 防止刷新地图不显示,清除地图换成 const amapKeys = Object.keys(localStorage).filter(key => key.match(/^_AMap_/)) amapKeys.forEach(key => { localStorage.removeItem(key) })
京公网安备 11010502049817号