修改
This commit is contained in:
parent
82dfbcc9ca
commit
6689c03634
@ -58,9 +58,6 @@
|
||||
"es6" : true
|
||||
},
|
||||
"usingComponents" : true,
|
||||
"optimization" : {
|
||||
"subPackages" : true
|
||||
},
|
||||
// app.json
|
||||
"permission" : {
|
||||
"scope.userLocation" : {
|
||||
|
||||
@ -72,7 +72,7 @@
|
||||
</view> -->
|
||||
<view class="name">
|
||||
所在位置
|
||||
<view class="selectdata" @tap='getAddress'>
|
||||
<view class="selectdata" @tap='getlocation'>
|
||||
<text v-if="query.locationName ==''">请选择所在位置</text>
|
||||
<text class="testitem"
|
||||
style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">{{query.locationName}}</text>
|
||||
@ -502,7 +502,7 @@
|
||||
this.query.birthDate = e.year + '-' + e.month + '-' + e.day
|
||||
},
|
||||
//获取所在位置
|
||||
getAddress() {
|
||||
getlocation() {
|
||||
var that = this;
|
||||
uni.chooseLocation({
|
||||
success: function(location) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user