|
@@ -56,8 +56,8 @@
|
|
|
let userId = this.$cache.get('_user_id');
|
|
|
let shareToken = this.getQueryString('shareToken');
|
|
|
let projectId = this.getQueryString('projectId');
|
|
|
- this.globalData.projectId = projectId;
|
|
|
- this.globalData.shareToken = shareToken;
|
|
|
+ this.globalData.projectId = projectId||'';
|
|
|
+ this.globalData.shareToken = shareToken||'';
|
|
|
if (!token||!userId) {
|
|
|
this.globalData.userId = userId;
|
|
|
this.regist();
|
|
@@ -97,6 +97,7 @@
|
|
|
this.$cache.set('_token_owner_union', token);
|
|
|
this.globalData.token = token
|
|
|
}
|
|
|
+ uni.$emit('request')
|
|
|
}
|
|
|
},
|
|
|
},
|