|
@@ -159,16 +159,18 @@
|
|
|
},
|
|
|
|
|
|
async createUserProjectRlat() {
|
|
|
- var parmas = {
|
|
|
- projectId: this.projectId,
|
|
|
- shareToken:getApp().globalData.shareToken
|
|
|
- }
|
|
|
- let res = await this.$myRequest({
|
|
|
- url: '/user/createUserProjectRlat',
|
|
|
- data: parmas
|
|
|
- })
|
|
|
- if (res && res.data.success) {
|
|
|
-
|
|
|
+ if(getApp().globalData.userId){
|
|
|
+ var parmas = {
|
|
|
+ projectId: this.projectId,
|
|
|
+ shareToken:getApp().globalData.shareToken
|
|
|
+ }
|
|
|
+ let res = await this.$myRequest({
|
|
|
+ url: '/user/createUserProjectRlat',
|
|
|
+ data: parmas
|
|
|
+ })
|
|
|
+ if (res && res.data.success) {
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
|