Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 30ae47f

Browse files
[fix]ol webmap returns 报错 api
1 parent c834cbf commit 30ae47f

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
@@ -4372,7 +4372,7 @@ export class WebMap extends Observable {
43724372
* 请求是否带上cookie
43734373
* @param {string} url 请求地址,必选参数。
43744374
* @param {boolean} proxy 是否需要加上代理,可选参数。
4375-
* @returns
4375+
* @returns { boolean | undefined } 是否带上cookie
43764376
*/
43774377
isCredentail(url, proxy) {
43784378
if(this.isIportalProxyServiceUrl(url) || (proxy !== false && !CommonUtil.isInTheSameDomain(url))) {
@@ -4384,7 +4384,7 @@ export class WebMap extends Observable {
43844384
* url是否要带上代理
43854385
* @param {*} url 请求地址,必选参数。
43864386
* @param {*} proxy 是否需要加上代理,可选参数。
4387-
* @returns
4387+
* @returns { boolean } 是否带上代理
43884388
*/
43894389
isAddProxy(url, proxy) {
43904390
return !CommonUtil.isInTheSameDomain(url) && !this.isIportalProxyServiceUrl(url) && proxy !== false;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /