This commit is contained in:
Iruka 2025-01-14 11:01:53 +08:00
parent 2a6ec27def
commit 7882ce6558
2 changed files with 22 additions and 12 deletions

View File

@ -1,13 +1,9 @@
VITE_ENV = 'development'
# dev prod stage
#VITE_APP_BASE_API = '/dev-api'
#VITE_APP_BASE_IP = 'localhost'
#VITE_APP_BASE_PORT = 3006
VITE_APP_BASE_API = '/stage-api'
VITE_APP_BASE_IP = '39.105.121.219'
VITE_APP_BASE_PORT = 80
VITE_APP_BASE_API = '/dev-api'
VITE_APP_BASE_IP = 'localhost'
VITE_APP_BASE_PORT = 3006
# Mqtt
VITE_BASE_MQTT = '39.105.121.219:8083/mqtt'

View File

@ -802,8 +802,17 @@
doubleClickZoom: false, //
dragging: true, // mouse/touch
attributionControl: false, // attribution
tap: true // true true
tap: true, // true true
});
// //
// var attribution = L.control.attribution({
// position: 'bottomleft', // 'topleft', 'topright', 'bottomleft', 'bottomright'
// });
// //
// attribution.addAttribution('');
// // attribution.addAttribution('GS20240568 - 1100471');
// //
// attribution.addTo(map);
// 使 'zoom'
map.on('zoom', function() {
@ -1119,10 +1128,15 @@
z-index: 0;
/* 地图放大缩小 */
::v-deep .leaflet-control-container {
position: absolute !important;
right: 55px !important;
top: 20% !important;
// ::v-deep .leaflet-control-container {
// position: absolute !important;
// right: 55px !important;
// top: 20% !important;
// }
::v-deep .leaflet-control-attribution{
a{
}
}
/* 文字 */