@ -81,6 +81,9 @@ Component({
}
},
onEvent: function (message) {
if(!this.data.firstShow){
return
console.log('mall>>fragment>>onEvent', message)
if(message.what == 888){
this.initLogin()
@ -49,6 +49,9 @@ Component({
this.firstShow = true
if(!this.firstShow){
if(!app.globalData.userInfo){
this.data.dataIndex = 0