Commit e25c41c5d9c102960919b2f087053a5da671c3a3
1 parent
8caeb545
获取位置的控制位置更换
Showing
1 changed file
with
2 additions
and
1 deletions
pages/goods/goodsInfo/goodsInfo.js
... | ... | @@ -3032,6 +3032,7 @@ Page({ |
3032 | 3032 | }, |
3033 | 3033 | fail: function(res) { |
3034 | 3034 | //th.onShow(); |
3035 | + th.data.is_get_local_ok = 1; | |
3035 | 3036 | th.get_sto(); |
3036 | 3037 | if (res.errCode == 2) { |
3037 | 3038 | th.setData({ |
... | ... | @@ -3045,7 +3046,7 @@ Page({ |
3045 | 3046 | is_gps: "3" |
3046 | 3047 | }); |
3047 | 3048 | } |
3048 | - th.data.is_get_local_ok = 1; | |
3049 | + | |
3049 | 3050 | } |
3050 | 3051 | }) |
3051 | 3052 | }else{ | ... | ... |