Skip to content

Commit 661e745

Browse files
committed
【example】更新online例子
1 parent 483c3eb commit 661e745

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/leaflet/onlineSecurity.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ <h4 data-i18n="resources.title_onlineSecurity"></h4>
150150
serverType: L.supermap.ServerType.ONLINE
151151
}).getMapInfo(function (json) {
152152
if (json.error) {
153-
widgets.alert.showAlert(JSON.stringify(json.error), false);
153+
widgets.alert.showAlert(JSON.stringify(json.error), false, 700);
154154
} else {
155-
widgets.alert.showAlert(JSON.stringify(json.result), true);
155+
widgets.alert.showAlert(JSON.stringify(json.result), true, 700);
156156
}
157157
});
158158
}

examples/openlayers/onlineSecurity.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ <h4 data-i18n="resources.title_onlineSecurity"></h4>
150150
serverType: ol.supermap.ServerType.ONLINE
151151
}).getMapInfo(function (json) {
152152
if (json.error) {
153-
widgets.alert.showAlert(JSON.stringify(json.error), false);
153+
widgets.alert.showAlert(JSON.stringify(json.error), false, 700);
154154
} else {
155-
widgets.alert.showAlert(JSON.stringify(json.result), true);
155+
widgets.alert.showAlert(JSON.stringify(json.result), true, 700);
156156
}
157157
});
158158
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy