界面优化
This commit is contained in:
commit
48e1f72f3f
@ -574,7 +574,7 @@
|
||||
area_code: code
|
||||
}).then(res => {
|
||||
this.$refs.uPicker.setColumnValues(1, res.data);
|
||||
console.log(res.data, 9999)
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -335,7 +335,7 @@
|
||||
},
|
||||
//获取商品列表
|
||||
list(isPage, id) {
|
||||
|
||||
// console.log('1111111')
|
||||
let that = this;
|
||||
if (that.loadend) return;
|
||||
if (that.loading) return;
|
||||
@ -350,6 +350,7 @@
|
||||
street_code:id,
|
||||
category_id:0
|
||||
}).then(res => {
|
||||
// console.log(222)
|
||||
let list = res.data.list;
|
||||
let productList = that.$util.SplitArray(list, that.productList);
|
||||
let loadend = list.length < that.where.limit;
|
||||
@ -430,7 +431,7 @@
|
||||
this.street = e.value[1].name
|
||||
this.street_id = e.value[1].code
|
||||
this.town = e.value[1].name
|
||||
this.productList = []
|
||||
this.loadend = false;
|
||||
this.list(true, this.street_id)
|
||||
this.$nextTick(() => {
|
||||
this.$bus.$emit('value-updated', e.value[1].name + ',' + e.value[1].code);
|
||||
@ -521,7 +522,7 @@
|
||||
this.street = e.value[1].name
|
||||
this.street_id = e.value[1].code
|
||||
this.town = e.value[1].name
|
||||
this.productList = []
|
||||
this.loadend = false;
|
||||
this.list(true, this.street_id)
|
||||
},
|
||||
selfLocation() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user