|
|
@@ -34,8 +34,8 @@ Component({
|
|
|
*/
|
|
|
methods: {
|
|
|
show: function() {
|
|
|
- console.log('show:', app.globalData.token)
|
|
|
- if (app.globalData.token) {
|
|
|
+ // console.log('show:', app.globalData.token)
|
|
|
+ if (app.globalData.isLog) {
|
|
|
this.setData({ iShidden:true})
|
|
|
this.getStatus()
|
|
|
this.getHistory()
|
|
|
@@ -61,6 +61,7 @@ Component({
|
|
|
},
|
|
|
|
|
|
getStatus: function() {
|
|
|
+ // console.log('isLog:', app.globalData.isLog)
|
|
|
if (app.globalData.isLog) {
|
|
|
var that = this;
|
|
|
getMineStatus().then(res=>{
|
|
|
@@ -104,7 +105,7 @@ Component({
|
|
|
|
|
|
onLoadFun:function() {
|
|
|
if (this.data.displaying && app.globalData.isLog){
|
|
|
- console.log("onLoadFun")
|
|
|
+ // console.log("onLoadFun")
|
|
|
this.getStatus()
|
|
|
this.getHistory()
|
|
|
}
|