|
|
@@ -34,6 +34,7 @@ Component({
|
|
|
*/
|
|
|
methods: {
|
|
|
show: function() {
|
|
|
+ console.log('show:', app.globalData.token)
|
|
|
if (app.globalData.token) {
|
|
|
this.setData({ iShidden:true})
|
|
|
this.getStatus()
|
|
|
@@ -102,7 +103,8 @@ Component({
|
|
|
},
|
|
|
|
|
|
onLoadFun:function() {
|
|
|
- if (this.data.displaying){
|
|
|
+ if (this.data.displaying && app.globalData.isLog){
|
|
|
+ console.log("onLoadFun")
|
|
|
this.getStatus()
|
|
|
this.getHistory()
|
|
|
}
|