Skip to content

Commit 6aabe7b

Browse files
[fix]ICL-1527分布式矢量裁剪分析报错 VectorClipJobsParameter未导出 review by qiw
1 parent dce3283 commit 6aabe7b

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

build/server.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ const serveIndex = require('serve-index');
55

66
const webpack = require('webpack');
77
const webpackDevMiddleware = require('webpack-dev-middleware');
8+
89
const product = process.argv[2];
910
var dirname = product === 'openlayers' ? 'ol' : product
1011
const app = (module.exports = express());
1112
if (product) {
1213
const config = require(`./webpack.config.${product}.js`);
1314
const configBase = require(`./webpack.config.base.js`);
14-
const entry = [`./src/${product}/${product === 'classic'? 'index': 'namespace'}.js`];
15+
const entry = [`./src/${product}/namespace.js`];
1516
const filename = `iclient-${dirname}`;
1617
config.output.filename = `${filename}-es6.min.js`;
1718
config.output.path = path.resolve(`${__dirname}/../dist/${dirname}`);

src/classic/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export { OutputSetting } from '@supermap/iclient-common/iServer/OutputSetting';
1616
export { MappingParameters } from '@supermap/iclient-common/iServer/MappingParameters';
1717
export { GeoCodingParameter } from '@supermap/iclient-common/iServer/GeoCodingParameter';
1818
export { GeoDecodingParameter } from '@supermap/iclient-common/iServer/GeoDecodingParameter';
19+
export { VectorClipJobsParameter } from '@supermap/iclient-common/iServer/VectorClipJobsParameter';
1920
export { Util } from '@supermap/iclient-common/commontypes/Util';
2021
export * from './overlay';
2122
export * from './services';

src/classic/namespace.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import {
22
ElasticSearch,
33
SecurityManager,
4+
VectorClipJobsParameter,
45
KernelDensityJobParameter,
56
SingleObjectQueryJobsParameter,
67
SummaryAttributesJobsParameter,
@@ -19,6 +20,7 @@ import {
1920

2021
SuperMap.ElasticSearch = ElasticSearch;
2122
SuperMap.SecurityManager = SecurityManager;
23+
SuperMap.VectorClipJobsParameter = VectorClipJobsParameter;
2224
SuperMap.KernelDensityJobParameter = KernelDensityJobParameter;
2325
SuperMap.SingleObjectQueryJobsParameter = SingleObjectQueryJobsParameter;
2426
SuperMap.SummaryAttributesJobsParameter = SummaryAttributesJobsParameter;

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