yuliang 5 년 전
부모
커밋
bf76f5463b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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")
           }