Explorar el Código

Merge branch 'master' of http://git.yvanui.com/hust/wuhan_epi

lange hace 5 años
padre
commit
0a2a767fbb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      whepi-ui/templates/home/getLocation.js

+ 1 - 1
whepi-ui/templates/home/getLocation.js

@@ -47,7 +47,7 @@ function getLocation() {
           // alert(result.detail.address)
 
           //获取到定位
-          if(autoLocal==''){
+          if(autoLocal == null || autoLocal==''){
             $('#js_input_jrszd').removeAttr("disabled")
             $('#js_input_jrszq').removeAttr("disabled")
           }