currentVideo
This commit is contained in:
@@ -682,6 +682,9 @@ export default {
|
||||
pjType: "",
|
||||
};
|
||||
},
|
||||
onUnload(){
|
||||
uni.getStorageSync("orderStatus",0)
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
console.log("下拉刷新了");
|
||||
uni.stopPullDownRefresh();
|
||||
@@ -717,6 +720,9 @@ export default {
|
||||
// });
|
||||
},
|
||||
async onShow() {
|
||||
|
||||
console.log('onshow at line 723:', '先走onshow')
|
||||
var status=uni.getStorageSync("orderStatus");
|
||||
this.newList = [];
|
||||
this.pagination = {
|
||||
page: 1, //页码
|
||||
@@ -724,19 +730,22 @@ export default {
|
||||
total: 0, //总条数
|
||||
};
|
||||
this.$nextTick(async () => {
|
||||
await this.ordersTabCLi(this.ordersTabs[0], 0);
|
||||
await this.ordersTabCLi(this.ordersTabs[status], status);
|
||||
});
|
||||
},
|
||||
async onTabItemTap() {
|
||||
console.log('onshow at line 724:', 'onTabItemTap')
|
||||
uni.setStorageSync("orderStatus", 0);
|
||||
var status=uni.getStorageSync("orderStatus");
|
||||
this.newList = [];
|
||||
this.pagination = {
|
||||
page: 1, //页码
|
||||
limit: 20, //每页显示
|
||||
total: 0, //总条数
|
||||
};
|
||||
// this.$nextTick(async () => {
|
||||
// await this.ordersTabCLi(this.ordersTabs[0], 0);
|
||||
// });
|
||||
this.$nextTick(async () => {
|
||||
await this.ordersTabCLi(this.ordersTabs[status], status);
|
||||
});
|
||||
},
|
||||
onReady() {},
|
||||
computed: {
|
||||
|
||||
Reference in New Issue
Block a user