Skip to content

Commit 1d55897

Browse files
authored
Update WebMap.js
1 parent 2300f66 commit 1d55897

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
@@ -4298,7 +4298,7 @@ export class WebMap extends Observable {
42984298
* 请求是否带上cookie
42994299
* @param {string} url 请求地址,必选参数。
43004300
* @param {boolean} proxy 是否需要加上代理,可选参数。
4301-
* @returns
4301+
* @returns { boolean | undefined } 是否带上cookie
43024302
*/
43034303
isCredentail(url, proxy) {
43044304
if(this.isIportalProxyServiceUrl(url) || (proxy !== false && !CommonUtil.isInTheSameDomain(url))) {
@@ -4310,7 +4310,7 @@ export class WebMap extends Observable {
43104310
* url是否要带上代理
43114311
* @param {*} url 请求地址,必选参数。
43124312
* @param {*} proxy 是否需要加上代理,可选参数。
4313-
* @returns
4313+
* @returns { boolean } 是否带上代理
43144314
*/
43154315
isAddProxy(url, proxy) {
43164316
return !CommonUtil.isInTheSameDomain(url) && !this.isIportalProxyServiceUrl(url) && proxy !== false;

0 commit comments

Comments
 (0)