|
|
@@ -223,12 +223,13 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
onLoad: function (e) {
|
|
|
+ this.userinfo = uni.getStorageSync("userinfo");
|
|
|
+ let token = uni.getStorageSync("token");
|
|
|
this.type = e.type;
|
|
|
this.goodsDa = e;
|
|
|
- this.userinfo = uni.getStorageSync("userinfo");
|
|
|
this.loadData(e);
|
|
|
|
|
|
- if(e.invite && !uni.getStorageSync("token")) this.login(e.invite);
|
|
|
+ if(e.invite && !token) this.login(e.invite);
|
|
|
},
|
|
|
onShow: function () {},
|
|
|
methods: {
|