Skip to content

Commit 90fe93b

Browse files
committed
【update】components
1 parent 7c3f5d6 commit 90fe93b

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

dist/mapboxgl/iclient-mapboxgl-vue.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16653,14 +16653,17 @@ function (_mapboxgl$Evented) {
1665316653
resultData = item;
1665416654
} else if (item.serviceType === 'RESTMAP' && item.serviceStatus === 'PUBLISHED') {
1665516655
resultData = item;
16656-
} else {
16657-
_this4.fire('queryfailed', {
16658-
message: (0, _lang.geti18n)().t('query.seviceNotSupport')
16659-
});
1666016656
}
16661-
}, _this4); // 如果有服务,获取数据源和数据集, 然后请求rest服务
16657+
}, _this4);
1666216658

16663-
_this4._getDatafromRest(resultData.serviceType, resultData.address, iportalDataParameter);
16659+
if (resultData) {
16660+
// 如果有服务,获取数据源和数据集, 然后请求rest服务
16661+
_this4._getDatafromRest(resultData.serviceType, resultData.address, iportalDataParameter);
16662+
} else {
16663+
_this4.fire('queryfailed', {
16664+
message: (0, _lang.geti18n)().t('query.seviceNotSupport')
16665+
});
16666+
}
1666416667
} else {
1666516668
_this4.fire('queryfailed', {
1666616669
message: (0, _lang.geti18n)().t('query.seviceNotSupport')

dist/mapboxgl/iclient-mapboxgl-vue.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)