Skip to content

Commit 124a82c

Browse files
【bug】1) isvj-5693 数据源名中文编码报错 review by songym
1 parent 65c4d5c commit 124a82c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openlayers/mapping/WebMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2150,7 +2150,7 @@ export class WebMap extends Observable {
21502150
return;
21512151
}
21522152
//因为itest上使用的https,iserver是http,所以要加上代理
2153-
getFeatureBySQL(requestUrl, [dataSourceName], serviceOptions, async function (result) {
2153+
getFeatureBySQL(requestUrl, [decodeURIComponent(dataSourceName)], serviceOptions, async function (result) {
21542154
let features = that.parseGeoJsonData2Feature({
21552155
allDatas: {
21562156
features: result.result.features.features

0 commit comments

Comments
 (0)