...
|
...
|
@@ -26,9 +26,7 @@ Page({ |
|
|
orderType: type
|
|
|
});
|
|
|
|
|
|
if (app.getUid()) {
|
|
|
this.getOrders(type);
|
|
|
} else {
|
|
|
if (!app.getUid()) {
|
|
|
wx.switchTab({
|
|
|
url: '/pages/home/home',
|
|
|
});
|
...
|
...
|
@@ -37,6 +35,9 @@ Page({ |
|
|
yas = new Yas(app);
|
|
|
yas.pageOpenReport();
|
|
|
},
|
|
|
onShow: function(e) {
|
|
|
this.getOrders(this.data.orderType);
|
|
|
},
|
|
|
startTimer: function () {
|
|
|
let that = this;
|
|
|
|
...
|
...
|
|