mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
解决订单发现的问题
This commit is contained in:
@@ -326,10 +326,10 @@ export default {
|
|||||||
// this.loadData(this.status);
|
// this.loadData(this.status);
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
if (this.tabCurrentIndex) {
|
if (!this.tabCurrentIndex) {
|
||||||
this.initData(this.tabCurrentIndex);
|
this.initData(0);
|
||||||
} else {
|
} else {
|
||||||
this.initData(0);
|
|
||||||
}
|
}
|
||||||
// this.loadData(this.status);
|
// this.loadData(this.status);
|
||||||
},
|
},
|
||||||
@@ -341,6 +341,7 @@ 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);
|
||||||
@@ -434,6 +435,7 @@ export default {
|
|||||||
*/
|
*/
|
||||||
loadData(index) {
|
loadData(index) {
|
||||||
this.params.pageNumber = this.navList[index].pageNumber;
|
this.params.pageNumber = this.navList[index].pageNumber;
|
||||||
|
// this.params.tag = this.orderStatus[index].orderStatus;
|
||||||
getOrderList(this.params).then((res) => {
|
getOrderList(this.params).then((res) => {
|
||||||
uni.stopPullDownRefresh();
|
uni.stopPullDownRefresh();
|
||||||
if (!res.data.success) {
|
if (!res.data.success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user