mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
修改我的订单多次请求bug
This commit is contained in:
@@ -323,7 +323,7 @@ export default {
|
||||
} else {
|
||||
this.initData(0);
|
||||
}
|
||||
this.loadData(this.status);
|
||||
// this.loadData(this.status);
|
||||
},
|
||||
onShow() {
|
||||
if (this.tabCurrentIndex) {
|
||||
@@ -331,7 +331,7 @@ export default {
|
||||
} else {
|
||||
this.initData(0);
|
||||
}
|
||||
this.loadData(this.status);
|
||||
// this.loadData(this.status);
|
||||
},
|
||||
|
||||
onLoad(options) {
|
||||
@@ -342,9 +342,9 @@ export default {
|
||||
let status = Number(options.status);
|
||||
this.status = status;
|
||||
this.tabCurrentIndex = status;
|
||||
if (status == 0) {
|
||||
this.loadData(status);
|
||||
}
|
||||
// if (status == 0) {
|
||||
// this.loadData(status);
|
||||
// }
|
||||
},
|
||||
|
||||
watch: {
|
||||
|
||||
Reference in New Issue
Block a user