Commit df52339837ea58b4d6dfe6bacbf5f13fbbe89365

Authored by vking
1 parent 0658828d

search

... ... @@ -438,6 +438,10 @@ Page({
this.getList()
},
moveToLocation(){
if(!this.position || !this.position.latitude || !this.position.longitude){
this.selectComponent('#getpos').getPos(true);
return;
}
this.suggestion=null
this.hasCleanSuggestion=true
this.setData({
... ...
... ... @@ -108,5 +108,5 @@
</view>
</view>
</block>
<getpos bindpos="onpos" id="getpos" hasAllowFail hasAllowLoading="{{false}}"></getpos>
<getpos bindpos="onpos" id="getpos" hasAllowLoading="{{false}}"></getpos>
<as-phone id="as"></as-phone>
\ No newline at end of file
... ...