Skip to content

Commit 0e30b72

Browse files
committed
fix ut
1 parent 8dc4889 commit 0e30b72

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

dist/iclient9-openlayers.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25651,10 +25651,10 @@ var GeoFeature = exports.GeoFeature = function (_Theme) {
2565125651
if (!this.isCustomSetMaxCacheCount) {
2565225652
this.maxCacheCount = this.features.length * 5;
2565325653
}
25654-
// //绘制专题要素
25655-
// if (this.renderer) {
25656-
// this.redrawThematicFeatures(this.map.getView().calculateExtent());
25657-
// }
25654+
//绘制专题要素
25655+
if (this.renderer) {
25656+
this.changed();
25657+
}
2565825658
}
2565925659

2566025660
/**
@@ -27781,7 +27781,7 @@ var Graph = exports.Graph = function (_Theme) {
2778127781
}
2778227782
//绘制专题要素
2778327783
if (this.renderer) {
27784-
this.redrawThematicFeatures(this.map.getView().calculateExtent());
27784+
this.changed();
2778527785
}
2778627786
}
2778727787

@@ -65266,7 +65266,7 @@ var DataFlowService = exports.DataFlowService = function (_CommonServiceBase) {
6526665266
}, {
6526765267
key: 'unBroadcast',
6526865268
value: function unBroadcast() {
65269-
if (this.broadcastWebSocket) {
65269+
if (!this.broadcastWebSocket) {
6527065270
return;
6527165271
}
6527265272
this.broadcastWebSocket.close();

dist/iclient9-openlayers.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.

src/common/iServer/DataFlowService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export class DataFlowService extends CommonServiceBase {
162162
* @description 结束加载广播
163163
*/
164164
unBroadcast() {
165-
if (this.broadcastWebSocket) {
165+
if (!this.broadcastWebSocket) {
166166
return;
167167
}
168168
this.broadcastWebSocket.close();

src/openlayers/overlay/Graph.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class Graph extends Theme {
6868
}
6969
//绘制专题要素
7070
if (this.renderer) {
71-
this.redrawThematicFeatures(this.map.getView().calculateExtent());
71+
this.changed();
7272
}
7373
}
7474

src/openlayers/overlay/theme/GeoFeature.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ export class GeoFeature extends Theme {
6363
if (!this.isCustomSetMaxCacheCount) {
6464
this.maxCacheCount = this.features.length * 5;
6565
}
66-
// //绘制专题要素
67-
// if (this.renderer) {
68-
// this.redrawThematicFeatures(this.map.getView().calculateExtent());
69-
// }
66+
//绘制专题要素
67+
if (this.renderer) {
68+
this.changed();
69+
}
7070
}
7171

7272
/**

0 commit comments

Comments
 (0)