Commit 0763505c1c7a1512242fd4799681ff01e7fd9a77

Authored by vking
1 parent 2fed3100

new 2.0

... ... @@ -98,6 +98,7 @@ Page({
},
gotoList(e){
getApp().meListType=util.attr(e,'type')
wx.switchTab({
url:'/pages/me/list?type='+util.attr(e,'type')
})
... ...
... ... @@ -25,8 +25,8 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
if(options.type){
this.tabType=options.type
if(getApp().meListType){
this.tabType=getApp().meListType
this.setData({
tabType:this.tabType
})
... ...