修复bug
This commit is contained in:
parent
55f27158dc
commit
f94284f460
@ -37,8 +37,8 @@
|
|||||||
</block>
|
</block>
|
||||||
</swiper>
|
</swiper>
|
||||||
</view>
|
</view>
|
||||||
<u-picker :defaultIndex="defaInd" :show="showPicker" ref="uPicker" :columns="columnData" @confirm="confirm"
|
<!-- <u-picker :defaultIndex="defaInd" :show="showPicker" ref="uPicker" :columns="columnData" @confirm="confirm"
|
||||||
@cancel="showPicker = false" @change="changeHandler" keyName="name"></u-picker>
|
@cancel="showPicker = false" @change="changeHandler" keyName="name"></u-picker> -->
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -108,7 +108,7 @@
|
|||||||
created() {
|
created() {
|
||||||
|
|
||||||
this.getBanner()
|
this.getBanner()
|
||||||
this.Area()
|
// this.Area()
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -120,11 +120,6 @@
|
|||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
onShow() {
|
|
||||||
this.getBanner()
|
|
||||||
this.Area()
|
|
||||||
},
|
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
swiperClick(item) {
|
swiperClick(item) {
|
||||||
const url = item.info[1].value
|
const url = item.info[1].value
|
||||||
|
@ -428,7 +428,7 @@
|
|||||||
limit: that.where2.limit,
|
limit: that.where2.limit,
|
||||||
street_code: id,
|
street_code: id,
|
||||||
category_id: 0,
|
category_id: 0,
|
||||||
location: this.latitude + ',' + this.longitude
|
location: this.latitude + ',' + this.longitude
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
// console.log(222)
|
// console.log(222)
|
||||||
let list = res.data.list;
|
let list = res.data.list;
|
||||||
@ -655,7 +655,7 @@
|
|||||||
this.town = res.data.address_reference.town.title
|
this.town = res.data.address_reference.town.title
|
||||||
this.street_id = res.data.address_reference.town.id
|
this.street_id = res.data.address_reference.town.id
|
||||||
this.street = res.data.address_reference.town.title;
|
this.street = res.data.address_reference.town.title;
|
||||||
this.list(true,this.street_id)
|
this.list(true, this.street_id)
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$bus.$emit('value-updated', this.street + ',' + this
|
this.$bus.$emit('value-updated', this.street + ',' + this
|
||||||
.street_id);
|
.street_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user