wenliming 2 years ago
parent
commit
4462650ad0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pages/treasure/invite.vue

+ 2 - 2
pages/treasure/invite.vue

@@ -149,8 +149,8 @@ export default {
 		setTimeout(() => {
 			this.checkInstall()
 				.then(() => {
-					if (this.detail.srcContentId && this.detail.postUserInfo && this.detail.postUserInfo.postNickName) {
-						let url = `https://twitter.com/${this.detail.postUserInfo.postNickName}/status/${this.detail.srcContentId}`;
+					if (this.detail.srcContentId && this.detail.postUserInfo && this.detail.postUserInfo.nickName) {
+						let url = `https://twitter.com/${this.detail.postUserInfo.nickName}/status/${this.detail.srcContentId}`;
 						window.open(url);
 					}
 				})