feat: 优化页面效果

This commit is contained in:
yarnom 2025-07-04 19:48:37 +08:00
parent 94b91c1290
commit e4ec7a13eb

View File

@ -1596,12 +1596,6 @@
function onMapTypeChange() {
var mapType = document.getElementById('mapTypeSelectNew').value;
if(mapType.startsWith('google_') && /*[[${role}]]*/ 'USER' != "SUPER_ADMIN") {
layer.msg('拒绝使用');
document.getElementById('mapTypeSelectNew').value = 'tianditu_terrain_hybrid';
mapType = 'tianditu_terrain_hybrid';
}
switchMapType(mapType);
}