以react less 为例:
.mapContainer{ :global{ .amap-logo { display: none !important; //去掉高德地图logo } .amap-copyright { opacity: 0; //去掉高德的版本号 } } }