Explorar o código

web端修改列表字段位置

墨云 %!s(int64=2) %!d(string=hai) anos
pai
achega
38ff776465
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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();