Commit 7856decb authored by 刘用法's avatar 刘用法

订单列表初始选中的tab

parent 9744d1fe
......@@ -90,11 +90,14 @@
_freshing: false,
};
},
onLoad() {
onLoad(e) {
this._freshing = false;
// this.getLocation(); // 不需要获取位置
// this.getOrderCount();
// this.getOrderList(0);
if (e && e.type) {
this.current = e.type
}
},
onShow() {
this.getOrderCount()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment