Skip to content

Commit 6290442

Browse files
committed
【update】1) webMap eslint警告提示
1 parent e343f26 commit 6290442

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/openlayers/mapping/WebMap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ export class WebMap extends Observable {
12251225
*/
12261226
getTileLayerExtentInfo(layerInfo, isDynamic = true) {
12271227
let that = this,
1228-
token,
1228+
// token,
12291229
url = layerInfo.url.trim(),
12301230
credential = layerInfo.credential,
12311231
options = {
@@ -1243,7 +1243,7 @@ export class WebMap extends Observable {
12431243
}
12441244
if (credential) {
12451245
url = `${url}&token=${encodeURI(credential.token)}`;
1246-
token = credential.token;
1246+
// token = credential.token;
12471247
}
12481248
return FetchRequest.get(that.getRequestUrl(`${url}.json`), null, options).then(function (response) {
12491249
return response.json();

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