Browse Source

[edit] fix

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

+ 1 - 1
pages/treasure/invite.vue

@@ -316,7 +316,7 @@ export default {
 				postNickName: this.detail.inviteUserInfo.nickName,
 				postId: this.detail.postId,
 				shareLinkId: this.$route.params.id,
-				channelName: window.atob(this.$route.params.channel),
+				channelName: this.$route.params.channel ? window.atob(this.$route.params.channel) : '',
 			};
 			Cookies.set('jump_info', JSON.stringify(treasureInfo), { expires: 100 });
 		},