Skip to content

Commit 31f5d90

Browse files
committed
fix sonar
1 parent 1a8ee6e commit 31f5d90

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

dist/iclient9-leaflet.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13729,7 +13729,7 @@ var ChangeTileVersion = L.Control.extend({
1372913729

1373013730
//判断浏览器是否支持Range滑动条
1373113731
if (this.slider.type == "text") {
13732-
alert("抱歉,您的浏览器不支持HTML5 range滑动条,请使用高版本浏览器");
13732+
console.error("抱歉,您的浏览器不支持HTML5 range滑动条,请使用高版本浏览器");
1373313733
}
1373413734
this.firstLoad = true;
1373513735
if ('oninput' in this.slider || 'onchange' in this.slider) {
@@ -24406,10 +24406,10 @@ module.exports = {
2440624406
"_requiredBy": [
2440724407
"/"
2440824408
],
24409-
"_resolved": "https://registry.npmjs.org/proj4/-/proj4-2.4.3.tgz",
24409+
"_resolved": "http://registry.npm.taobao.org/proj4/download/proj4-2.4.3.tgz",
2441024410
"_shasum": "f3bb7e631bffc047c36a1a3cc14533a03bbe9969",
2441124411
"_spec": "proj4@2.4.3",
24412-
"_where": "E:\\codes\\iClient9",
24412+
"_where": "F:\\dev\\iClient9",
2441324413
"author": "",
2441424414
"bugs": {
2441524415
"url": "https://github.com/proj4js/proj4js/issues"

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

dist/iclient9-openlayers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10617,7 +10617,7 @@ ol.supermap.control.ChangeTileVersion = function (options) {
1061710617

1061810618
//判断浏览器是否支持Range滑动条
1061910619
if (this.slider.type == "text") {
10620-
alert("抱歉,您的浏览器不支持HTML5 range滑动条,请使用高版本浏览器");
10620+
console.error("抱歉,您的浏览器不支持HTML5 range滑动条,请使用高版本浏览器");
1062110621
}
1062210622
this.firstLoad = true;
1062310623
if ('oninput' in this.slider || 'onchange' in this.slider) {

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/leaflet/control/ChangeTileVersion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ var ChangeTileVersion = L.Control.extend({
208208

209209
//判断浏览器是否支持Range滑动条
210210
if (this.slider.type == "text") {
211-
alert("抱歉,您的浏览器不支持HTML5 range滑动条,请使用高版本浏览器");
211+
console.error("抱歉,您的浏览器不支持HTML5 range滑动条,请使用高版本浏览器");
212212
}
213213
this.firstLoad = true;
214214
if ('oninput' in this.slider || 'onchange' in this.slider) {

src/openlayers/control/ChangeTileVersion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ ol.supermap.control.ChangeTileVersion = function (options) {
102102

103103
//判断浏览器是否支持Range滑动条
104104
if (this.slider.type == "text") {
105-
alert("抱歉,您的浏览器不支持HTML5 range滑动条,请使用高版本浏览器");
105+
console.error("抱歉,您的浏览器不支持HTML5 range滑动条,请使用高版本浏览器");
106106
}
107107
this.firstLoad = true;
108108
if ('oninput' in this.slider || 'onchange' in this.slider) {

0 commit comments

Comments
 (0)