Skip to content

Commit c7d7357

Browse files
committed
优化代码
1 parent cc3421a commit c7d7357

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/common/overlay/levelRenderer/Painter.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,11 @@ export class Painter {
129129
return false;
130130
}
131131

132+
/* eslint-disable */
132133
// 什么都不干的空方法
133-
function doNothing() { // eslint-disable-line no-unused-vars
134-
//NOSONAR
134+
function doNothing() { //NOSONAR
135135
}
136+
/* eslint-enable */
136137
}
137138

138139

src/leaflet/overlay/EChartsLayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ LeafletMapCoordSys.prototype.getBMap = function () {
195195
return this._LeafletMap
196196
}
197197

198-
LeafletMapCoordSys.prototype.prepareCustoms = function (data) {
198+
LeafletMapCoordSys.prototype.prepareCustoms = function () {
199199
var zrUtil = echarts.util;
200200

201201
var rect = this.getViewRect();

0 commit comments

Comments
 (0)