Kaynağa Gözat

web端修改列表字段位置

墨云 2 yıl önce
ebeveyn
işleme
38ff776465
1 değiştirilmiş dosya ile 0 ekleme ve 3 silme
  1. 0 3
      whepi-ui/templates/home/getLocation.js

+ 0 - 3
whepi-ui/templates/home/getLocation.js

@@ -19,7 +19,6 @@ function getLocation() {
 
       var geocoder = new qq.maps.Geocoder({
         complete: function (result) {
-          alert(JSON.stringify(result.detail.addressComponents));
           // alert(JSON.stringify(result.detail.addressComponents));
           if ('武汉市' === result.detail.addressComponents.city) {
             autoLocal = '武汉市';
@@ -64,8 +63,6 @@ function getLocation() {
       var coord = new qq.maps.LatLng(res.latitude, res.longitude)
       longitude = res.longitude;
       latitude = res.latitude;
-      alert(longitude)
-      alert(latitude)
       $("#commit").removeAttr("disabled",true).css("pointer-events","");
       $("#commit").css("background-color","#1AAD19").css("color","#FFFFFF");
       $("#dingwei").hide();