Fix:5160 【商城小程序】在订单列表购物“正在加载中”状态下快速切换旅居标签,出现数据错位
(cherry picked from commit e3316844e3)
This commit is contained in:
@@ -1190,7 +1190,10 @@ export default {
|
|||||||
},
|
},
|
||||||
getOrderListReq() {
|
getOrderListReq() {
|
||||||
if (this.loading || this.loaded) return
|
if (this.loading || this.loaded) return
|
||||||
this.loading = true
|
// this.loading = true
|
||||||
|
uni.showLoading({
|
||||||
|
mask: true,
|
||||||
|
})
|
||||||
const types = {
|
const types = {
|
||||||
0: 0,
|
0: 0,
|
||||||
1: 1,
|
1: 1,
|
||||||
@@ -1226,6 +1229,7 @@ export default {
|
|||||||
this.loading = false
|
this.loading = false
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
uni.hideLoading()
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
tapShowMore(order, index) {
|
tapShowMore(order, index) {
|
||||||
|
|||||||
Reference in New Issue
Block a user