|
@@ -16,9 +16,8 @@
|
|
|
</div>
|
|
|
<div class="footer">
|
|
|
<v-btn :txt="state.open_btn.txt" :font-size="'17px'" class="btn" :icon="false"
|
|
|
- :disabled="state.open_btn.disabled"
|
|
|
- v-click-log="state.log_invite_btn_click"
|
|
|
- @onClick="clickBtn" font-weight="600"></v-btn>
|
|
|
+ :disabled="state.open_btn.disabled" v-click-log="state.log_invite_btn_click" @onClick="clickBtn"
|
|
|
+ font-weight="600"></v-btn>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -40,7 +39,7 @@ state.log_invite_btn_click = {
|
|
|
pageSource: Report.pageSource.inviteFriendsPage,
|
|
|
objectType: Report.objectType.openChestButton,
|
|
|
redPacketType: Report.redPacketType.treasure,
|
|
|
- shareLinkId: state.invite_code,
|
|
|
+ shareLinkId: state.invite_code,
|
|
|
myShareLinkId: state.detail.inviteCopyUrl,
|
|
|
currentInvitedNum: state.detail.inviteCount,
|
|
|
postId: state.postId
|
|
@@ -79,7 +78,7 @@ state.inviteList = () => {
|
|
|
if (res.code == 0) {
|
|
|
if (res.data.length > 0) {
|
|
|
res.data.forEach(item => {
|
|
|
- if (state.invited_list.filter((item) => { return item.userinfo.uid == item.userinfo.uid }).length) {
|
|
|
+ if (state.invited_list.filter((item2) => { return item2.userInfo.uid == item.userInfo.uid }).length == 0) {
|
|
|
state.invited_list.push(item)
|
|
|
}
|
|
|
})
|