修改我的订单多次请求bug

master
lemon橪 2022-04-21 11:50:13 +08:00
parent 055bad9ca9
commit 64686e165f
1 changed files with 5 additions and 5 deletions

View File

@ -323,7 +323,7 @@ export default {
} else { } else {
this.initData(0); this.initData(0);
} }
this.loadData(this.status); // this.loadData(this.status);
}, },
onShow() { onShow() {
if (this.tabCurrentIndex) { if (this.tabCurrentIndex) {
@ -331,7 +331,7 @@ export default {
} else { } else {
this.initData(0); this.initData(0);
} }
this.loadData(this.status); // this.loadData(this.status);
}, },
onLoad(options) { onLoad(options) {
@ -342,9 +342,9 @@ export default {
let status = Number(options.status); let status = Number(options.status);
this.status = status; this.status = status;
this.tabCurrentIndex = status; this.tabCurrentIndex = status;
if (status == 0) { // if (status == 0) {
this.loadData(status); // this.loadData(status);
} // }
}, },
watch: { watch: {