@@ -8,7 +8,6 @@ Page({
},
onLoad:function(options){
// 页面初始化 options为页面跳转所带来的参数
- this.getOrderList();
getOrderList(){
let that = this;
@@ -33,6 +32,7 @@ Page({
onShow:function(){
// 页面显示
+ this.getOrderList();
onHide:function(){
// 页面隐藏