更新优化
This commit is contained in:
parent
7a0ab4e936
commit
9842f44f76
@ -283,7 +283,8 @@ export default {
|
|||||||
onTabItemTap(e) {
|
onTabItemTap(e) {
|
||||||
uni.pageScrollTo({
|
uni.pageScrollTo({
|
||||||
selector: ".Circle_friends",
|
selector: ".Circle_friends",
|
||||||
scrollTop: 0
|
scrollTop: 0,
|
||||||
|
duration: 200
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
|
@ -278,7 +278,6 @@
|
|||||||
uni.stopPullDownRefresh()
|
uni.stopPullDownRefresh()
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.selfLocation()
|
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.Area()
|
this.Area()
|
||||||
@ -294,6 +293,7 @@
|
|||||||
}
|
}
|
||||||
this.connectstatus = connectStr
|
this.connectstatus = connectStr
|
||||||
})
|
})
|
||||||
|
this.selfLocation()
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -392,7 +392,7 @@
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
// console.log(222)
|
// console.log(222)
|
||||||
let list = res.data.list;
|
let list = res.data.list;
|
||||||
if(list.length==0&&that.productList.length==0){
|
if(list.length==0&&that.productList.length==0&&that.where.page==1){
|
||||||
that.list2(true, '');
|
that.list2(true, '');
|
||||||
}
|
}
|
||||||
let productList = that.$util.SplitArray(list, that.productList);
|
let productList = that.$util.SplitArray(list, that.productList);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user