Browse Source

提交发送

张文飞 3 years ago
parent
commit
e9bfd5bed8
1 changed files with 4 additions and 4 deletions
  1. 4 4
      pages/homePage/homePage.vue

+ 4 - 4
pages/homePage/homePage.vue

@@ -282,10 +282,7 @@
 				this.$refs.login.hide();
 				this.$refs.login.hide();
 			})
 			})
 			let projectId = this.getQueryString('projectId');
 			let projectId = this.getQueryString('projectId');
-			this.toPage(projectId);
-			if (!this.userInfo.ownersUnion) {
-				this.$refs.showGuide.show()
-			}
+			this.toPage(projectId);
 		},
 		},
 		onShow() {
 		onShow() {
 			this.isVisiable = true;
 			this.isVisiable = true;
@@ -382,6 +379,9 @@
 					if (ret.data.success) {
 					if (ret.data.success) {
 						this.userInfo = ret.data.single || null;
 						this.userInfo = ret.data.single || null;
 						this.showGuide = this.userInfo.userId?this.userInfo.ownersUnion?false:true:true;
 						this.showGuide = this.userInfo.userId?this.userInfo.ownersUnion?false:true:true;
+						if (!this.userInfo.ownersUnion) {
+							this.$refs.showGuide.show()
+						}
 					}
 					}
 				}
 				}
 			},
 			},