wenliming 2 年之前
父节点
当前提交
4462650ad0
共有 1 个文件被更改,包括 2 次插入2 次删除
  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);
 					}
 				})