@mapgis/webclient-common 17.0.7 → 17.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -37
- package/dist/es5/webclient-common.min.js +15 -4
- package/dist/webclient-common-es6.min.js +16 -5
- package/documention/AddressServer.html +12 -12
- package/documention/ArcGISFeatureServer.html +10 -10
- package/documention/ArcGISGeometryServer.html +10 -10
- package/documention/ArcGISMapImageLayer.html +10 -10
- package/documention/ArcGISMapImageSubLayer.html +311 -7
- package/documention/ArcGISMapServer.html +414 -10
- package/documention/ArcGISTileLayer.html +121 -13
- package/documention/ArcGISVectorTileLayer.html +7 -7
- package/documention/ArcGISVectorTileServer.html +10 -10
- package/documention/BaseRenderer.html +239 -0
- package/documention/BaseServer.html +11 -11
- package/documention/BaseView.html +458 -3
- package/documention/Basemap.html +3 -3
- package/documention/Callout3D.html +107 -0
- package/documention/Cesium3DTilesCacheLayer.html +149 -177
- package/documention/Cesium3DTilesServer.html +11 -11
- package/documention/Circle.html +110 -7
- package/documention/ClassBreakInfo.html +0 -217
- package/documention/ClassBreakRenderer.html +413 -23
- package/documention/ClusterRenderer.html +247 -7
- package/documention/Config.html +4 -4
- package/documention/Extent.html +118 -15
- package/documention/ExtrudeSymbol3DLayer.html +109 -2
- package/documention/Feature.html +7 -7
- package/documention/FeatureLayer.html +116 -8
- package/documention/FeatureServer.html +27 -27
- package/documention/FeatureSet.html +7 -7
- package/documention/FillSymbol.html +107 -0
- package/documention/FillSymbol3DLayer.html +109 -2
- package/documention/Font.html +4 -4
- package/documention/GeoJSONLayer.html +142 -34
- package/documention/Geometry.html +138 -7
- package/documention/GeometryEngine.html +79 -79
- package/documention/GeometryServer.html +30 -30
- package/documention/GraphicsLayer.html +147 -39
- package/documention/GroupLayer.html +120 -12
- package/documention/HeatmapRenderer.html +107 -0
- package/documention/IGSFeatureLayer.html +25 -25
- package/documention/IGSMapImageLayer.html +46 -46
- package/documention/IGSMapImageSubLayer.html +307 -3
- package/documention/IGSSceneLayer.html +11 -11
- package/documention/IGSSceneSubLayer.html +213 -33
- package/documention/IGSTileLayer.html +126 -19
- package/documention/IGSVectorTileLayer.html +230 -43
- package/documention/IGSVectorTileSubLayer.html +5 -4
- package/documention/IconSymbol3DLayer.html +111 -4
- package/documention/ImageServer.html +11 -11
- package/documention/LabelClass.html +10 -5
- package/documention/LabelSymbol3D.html +2 -2
- package/documention/Layer.html +244 -9
- package/documention/LineCallout3D.html +107 -0
- package/documention/LineString.html +113 -10
- package/documention/LineSymbol.html +107 -0
- package/documention/LineSymbol3D.html +2 -2
- package/documention/LineSymbol3DLayer.html +109 -2
- package/documention/M3DModelCacheLayer.html +133 -79
- package/documention/M3DServer.html +12 -12
- package/documention/Map.html +32 -5
- package/documention/MapGISTextSymbol.html +110 -3
- package/documention/MapImageLayer.html +527 -16
- package/documention/MapServer.html +14 -14
- package/documention/MapView.html +204 -3
- package/documention/MarkerSymbol.html +107 -0
- package/documention/MultiLineString.html +116 -13
- package/documention/MultiPoint.html +113 -10
- package/documention/MultiPolygon.html +112 -9
- package/documention/OGCLayer.html +116 -8
- package/documention/ObjectSymbol3DLayer.html +111 -4
- package/documention/OutStatistic.html +1 -1
- package/documention/OverlayLayer.html +116 -8
- package/documention/PathSymbol3DLayer.html +109 -2
- package/documention/PictureFillSymbol.html +169 -8
- package/documention/PictureMarkerSymbol.html +3 -3
- package/documention/PlotServer.html +10 -10
- package/documention/PoiServer.html +12 -12
- package/documention/Point.html +115 -12
- package/documention/PointSymbol3D.html +3 -3
- package/documention/Polygon.html +117 -14
- package/documention/PolygonSymbol3D.html +2 -2
- package/documention/Projection.html +429 -8
- package/documention/RandomRenderer.html +108 -1
- package/documention/RankRenderer.html +109 -2
- package/documention/ResourceServer.html +150 -150
- package/documention/RootServer.html +12 -12
- package/documention/SceneLayer.html +116 -8
- package/documention/SceneServer.html +16 -16
- package/documention/SceneView.html +10164 -130
- package/documention/SecurityServer.html +12 -12
- package/documention/SimpleFillSymbol.html +110 -3
- package/documention/SimpleLineSymbol.html +3 -3
- package/documention/SimpleMarkerSymbol.html +3 -3
- package/documention/SimpleRenderer.html +116 -9
- package/documention/SizeVariable.html +1 -1
- package/documention/SketchBaseDrawTool.html +181 -3
- package/documention/SketchCircleDrawTool.html +159 -3
- package/documention/SketchEditor.html +2 -2
- package/documention/SketchEditorCesium.html +1 -1
- package/documention/SketchEditorVideo.html +2 -2
- package/documention/SketchEditorVideoBase.html +3 -3
- package/documention/SketchExtentDrawTool.html +159 -3
- package/documention/SketchFreehandPolygonDrawTool.html +159 -3
- package/documention/SketchFreehandPolylineDrawTool.html +159 -3
- package/documention/SketchPointDrawTool.html +159 -3
- package/documention/SketchPolygonDrawTool.html +318 -6
- package/documention/SketchPolylineDrawTool.html +318 -6
- package/documention/SpatialReference.html +1 -1
- package/documention/SubLayer.html +296 -26
- package/documention/Symbol.html +134 -1
- package/documention/Symbol3DLayer.html +107 -0
- package/documention/Symbol3DVerticalOffset.html +107 -0
- package/documention/TerrainCacheLayer.html +133 -165
- package/documention/TerrainServer.html +11 -11
- package/documention/TextSymbol.html +111 -4
- package/documention/TextSymbol3DLayer.html +109 -2
- package/documention/ThemeServer.html +13 -13
- package/documention/TileLayer.html +116 -8
- package/documention/TileServer.html +12 -12
- package/documention/UniqueValueInfo.html +0 -217
- package/documention/UniqueValueRenderer.html +125 -18
- package/documention/UnknownLayer.html +116 -8
- package/documention/VectorTileLayer.html +117 -9
- package/documention/VectorTileServer.html +11 -11
- package/documention/VectorTileSubLayer.html +304 -0
- package/documention/VideoMapView.html +4 -4
- package/documention/WCSServer.html +10 -10
- package/documention/WFSLayer.html +140 -32
- package/documention/WFSServer.html +11 -11
- package/documention/WMSLayer.html +131 -23
- package/documention/WMSServer.html +12 -12
- package/documention/WMSSubLayer.html +218 -7
- package/documention/WMTSLayer.html +126 -18
- package/documention/WMTSServer.html +12 -12
- package/documention/WMTSSubLayer.html +116 -8
- package/documention/WPSServer.html +10 -10
- package/documention/WaterSymbol3DLayer.html +107 -0
- package/documention/WebTileLayer.html +121 -13
- package/documention/WorkFlowServer.html +12 -12
- package/documention/WorkFlowServer600227.html +12 -12
- package/documention/WorkFlowServer600228.html +13 -13
- package/documention/WorkFlowServer600229.html +12 -12
- package/documention/WorkFlowServer600230.html +12 -12
- package/documention/WorkFlowServer600231.html +12 -12
- package/documention/WorkFlowServer600232.html +13 -13
- package/documention/WorkFlowServer600233.html +14 -14
- package/documention/WorkFlowServer600235.html +12 -12
- package/documention/WorkFlowServer600237.html +13 -13
- package/documention/WorkFlowServer600238.html +15 -15
- package/documention/WorkFlowServer600239.html +16 -16
- package/documention/WorkFlowServer600307.html +14 -14
- package/documention/WorkFlowServer600308.html +2 -2
- package/documention/WorkFlowServer600309.html +12 -12
- package/documention/WorkFlowServer600314.html +12 -12
- package/documention/WorkFlowServer600334.html +12 -12
- package/documention/WorkFlowServer600336.html +12 -12
- package/documention/WorkFlowServer600340.html +12 -12
- package/documention/WorkFlowServer600354.html +12 -12
- package/documention/WorkFlowServer600368.html +12 -12
- package/documention/WorkFlowServer600369.html +12 -12
- package/documention/WorkFlowServer600370.html +12 -12
- package/documention/global.html +1024 -1874
- package/documention/index.html +84 -78
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAllOtherDataItemInfoSource.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAnnInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartLabelFormat.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartTheme.html +4 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeRepresentInfo.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartType.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CDotDensityTheme.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CFourColorTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CGraduatedSymbolTheme.html +7 -7
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CLinInfo.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CMultiClassTheme.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CPntInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRandomTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeTheme.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRegInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CSimpleTheme.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CThemeInfo.html +7 -7
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueTheme.html +4 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ExpInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfo.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfoAttribute.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ItemValue.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ThemesInfo.html +2 -2
- package/documention/scripts/sideBar.js +16 -2
- package/documention/tutorial-/346/270/262/346/237/223/345/231/250.html +5 -1
- package/documention/tutorial-/347/254/246/345/217/267.html +52 -6
- package/documention/tutorial-/350/241/250/350/276/276/345/274/217.html +293 -1
- package/package.json +14 -13
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
radius: "0.01",
|
|
393
393
|
});
|
|
394
394
|
workFlowServer600369.execute({
|
|
395
|
-
method:
|
|
395
|
+
method: zondy.enum.FetchMethod.get,
|
|
396
396
|
success: function (res) {
|
|
397
397
|
console.log("execute: ", res);
|
|
398
398
|
},
|
|
@@ -1129,7 +1129,7 @@
|
|
|
1129
1129
|
|
|
1130
1130
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1131
1131
|
// ES5引入方式
|
|
1132
|
-
const { BaseServer } =
|
|
1132
|
+
const { BaseServer } = zondy.service
|
|
1133
1133
|
// ES6引入方式
|
|
1134
1134
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1135
1135
|
let BaseServer = new BaseServer({
|
|
@@ -1538,7 +1538,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1538
1538
|
|
|
1539
1539
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1540
1540
|
// ES5引入方式
|
|
1541
|
-
const { BaseServer } =
|
|
1541
|
+
const { BaseServer } = zondy.service
|
|
1542
1542
|
// ES6引入方式
|
|
1543
1543
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1544
1544
|
let BaseServer = new BaseServer({
|
|
@@ -1715,7 +1715,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1715
1715
|
|
|
1716
1716
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1717
1717
|
// ES5引入方式
|
|
1718
|
-
const { BaseServer,RequestInterceptor } =
|
|
1718
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1719
1719
|
// ES6引入方式
|
|
1720
1720
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1721
1721
|
let BaseServer = new BaseServer({
|
|
@@ -1824,7 +1824,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
1824
1824
|
<pre class="prettyprint"><code>//设置超时时间
|
|
1825
1825
|
//初始化AddressServer服务对象
|
|
1826
1826
|
// ES5引入方式
|
|
1827
|
-
const { BaseServer } =
|
|
1827
|
+
const { BaseServer } = zondy.service
|
|
1828
1828
|
// ES6引入方式
|
|
1829
1829
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1830
1830
|
let BaseServer = new BaseServer({
|
|
@@ -1921,7 +1921,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1921
1921
|
|
|
1922
1922
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1923
1923
|
// ES5引入方式
|
|
1924
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1924
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1925
1925
|
// ES6引入方式
|
|
1926
1926
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1927
1927
|
let BaseServer = new BaseServer({
|
|
@@ -2256,8 +2256,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2256
2256
|
|
|
2257
2257
|
<pre class="prettyprint"><code>//设置token值
|
|
2258
2258
|
// ES5引入方式
|
|
2259
|
-
const { BaseServer } =
|
|
2260
|
-
const { TokenAttachType } =
|
|
2259
|
+
const { BaseServer } = zondy.service
|
|
2260
|
+
const { TokenAttachType } = zondy.enum
|
|
2261
2261
|
// ES6引入方式
|
|
2262
2262
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2263
2263
|
let BaseServer = new BaseServer({
|
|
@@ -2358,7 +2358,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2358
2358
|
|
|
2359
2359
|
<pre class="prettyprint"><code>//设置token名
|
|
2360
2360
|
// ES5引入方式
|
|
2361
|
-
const { BaseServer } =
|
|
2361
|
+
const { BaseServer } = zondy.service
|
|
2362
2362
|
// ES6引入方式
|
|
2363
2363
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2364
2364
|
let BaseServer = new BaseServer({
|
|
@@ -2455,7 +2455,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2455
2455
|
|
|
2456
2456
|
<pre class="prettyprint"><code>//设置token值
|
|
2457
2457
|
// ES5引入方式
|
|
2458
|
-
const { BaseServer } =
|
|
2458
|
+
const { BaseServer } = zondy.service
|
|
2459
2459
|
// ES6引入方式
|
|
2460
2460
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2461
2461
|
let BaseServer = new BaseServer({
|
|
@@ -2979,7 +2979,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
2979
2979
|
|
|
2980
2980
|
|
|
2981
2981
|
<pre class="prettyprint"><code>workflow.execute({
|
|
2982
|
-
method:
|
|
2982
|
+
method: zondy.enum.FetchMethod.get,
|
|
2983
2983
|
success: function (res) {
|
|
2984
2984
|
console.log("execute: ", res);
|
|
2985
2985
|
},
|
|
@@ -4231,7 +4231,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4231
4231
|
<div class="columns">
|
|
4232
4232
|
|
|
4233
4233
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4234
|
-
method:
|
|
4234
|
+
method: zondy.enum.FetchMethod.get,
|
|
4235
4235
|
success: function (res) {
|
|
4236
4236
|
console.log("submit: ", res);
|
|
4237
4237
|
},
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
expression: "I1+200",
|
|
364
364
|
});
|
|
365
365
|
workFlowServer600370.execute({
|
|
366
|
-
method:
|
|
366
|
+
method: zondy.enum.FetchMethod.get,
|
|
367
367
|
success: function (res) {
|
|
368
368
|
console.log("execute: ", res);
|
|
369
369
|
},
|
|
@@ -1232,7 +1232,7 @@
|
|
|
1232
1232
|
|
|
1233
1233
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1234
1234
|
// ES5引入方式
|
|
1235
|
-
const { BaseServer } =
|
|
1235
|
+
const { BaseServer } = zondy.service
|
|
1236
1236
|
// ES6引入方式
|
|
1237
1237
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1238
1238
|
let BaseServer = new BaseServer({
|
|
@@ -1566,7 +1566,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1566
1566
|
|
|
1567
1567
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1568
1568
|
// ES5引入方式
|
|
1569
|
-
const { BaseServer } =
|
|
1569
|
+
const { BaseServer } = zondy.service
|
|
1570
1570
|
// ES6引入方式
|
|
1571
1571
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1572
1572
|
let BaseServer = new BaseServer({
|
|
@@ -1743,7 +1743,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1743
1743
|
|
|
1744
1744
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1745
1745
|
// ES5引入方式
|
|
1746
|
-
const { BaseServer,RequestInterceptor } =
|
|
1746
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1747
1747
|
// ES6引入方式
|
|
1748
1748
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1749
1749
|
let BaseServer = new BaseServer({
|
|
@@ -1852,7 +1852,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
1852
1852
|
<pre class="prettyprint"><code>//设置超时时间
|
|
1853
1853
|
//初始化AddressServer服务对象
|
|
1854
1854
|
// ES5引入方式
|
|
1855
|
-
const { BaseServer } =
|
|
1855
|
+
const { BaseServer } = zondy.service
|
|
1856
1856
|
// ES6引入方式
|
|
1857
1857
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1858
1858
|
let BaseServer = new BaseServer({
|
|
@@ -1949,7 +1949,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1949
1949
|
|
|
1950
1950
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1951
1951
|
// ES5引入方式
|
|
1952
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1952
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1953
1953
|
// ES6引入方式
|
|
1954
1954
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1955
1955
|
let BaseServer = new BaseServer({
|
|
@@ -2134,8 +2134,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2134
2134
|
|
|
2135
2135
|
<pre class="prettyprint"><code>//设置token值
|
|
2136
2136
|
// ES5引入方式
|
|
2137
|
-
const { BaseServer } =
|
|
2138
|
-
const { TokenAttachType } =
|
|
2137
|
+
const { BaseServer } = zondy.service
|
|
2138
|
+
const { TokenAttachType } = zondy.enum
|
|
2139
2139
|
// ES6引入方式
|
|
2140
2140
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2141
2141
|
let BaseServer = new BaseServer({
|
|
@@ -2236,7 +2236,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2236
2236
|
|
|
2237
2237
|
<pre class="prettyprint"><code>//设置token名
|
|
2238
2238
|
// ES5引入方式
|
|
2239
|
-
const { BaseServer } =
|
|
2239
|
+
const { BaseServer } = zondy.service
|
|
2240
2240
|
// ES6引入方式
|
|
2241
2241
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2242
2242
|
let BaseServer = new BaseServer({
|
|
@@ -2333,7 +2333,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2333
2333
|
|
|
2334
2334
|
<pre class="prettyprint"><code>//设置token值
|
|
2335
2335
|
// ES5引入方式
|
|
2336
|
-
const { BaseServer } =
|
|
2336
|
+
const { BaseServer } = zondy.service
|
|
2337
2337
|
// ES6引入方式
|
|
2338
2338
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2339
2339
|
let BaseServer = new BaseServer({
|
|
@@ -2857,7 +2857,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
2857
2857
|
|
|
2858
2858
|
|
|
2859
2859
|
<pre class="prettyprint"><code>workflow.execute({
|
|
2860
|
-
method:
|
|
2860
|
+
method: zondy.enum.FetchMethod.get,
|
|
2861
2861
|
success: function (res) {
|
|
2862
2862
|
console.log("execute: ", res);
|
|
2863
2863
|
},
|
|
@@ -4109,7 +4109,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4109
4109
|
<div class="columns">
|
|
4110
4110
|
|
|
4111
4111
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4112
|
-
method:
|
|
4112
|
+
method: zondy.enum.FetchMethod.get,
|
|
4113
4113
|
success: function (res) {
|
|
4114
4114
|
console.log("submit: ", res);
|
|
4115
4115
|
},
|