@@ -52,6 +52,7 @@
}
},
onShow() {
+ this.token = this.$store.state.token;
onLoad() {
let self = this;
@@ -74,7 +75,7 @@
methods: {
/*mescroll组件初始化的回调,可获取到mescroll对象 (此处可删,mixins已默认)*/
mescrollInit(mescroll) {
- // this.mescroll = mescroll;
+ this.mescroll = mescroll;
/*下拉刷新的回调, 有三种处理方式:*/
downCallback(){
@@ -98,8 +98,8 @@
...mapState(['hasLogin', 'userInfo'])
- console.log('hasLogin',this.hasLogin);
- console.log('userInfo',this.userInfo);
+ // console.log('hasLogin',this.hasLogin);
+ // console.log('userInfo',this.userInfo);
if (this.hasLogin) {
this.upInfo();