Showing
1 changed file
with
2 additions
and
1 deletions
... | ... | @@ -120,6 +120,7 @@ export default { |
120 | 120 | let getOpenId = getApp().globalData.openId; |
121 | 121 | if (getOpenId) { |
122 | 122 | this.openIds = getOpenId; |
123 | + console.log('OPenid', this.openIds); | |
123 | 124 | } |
124 | 125 | }, |
125 | 126 | computed: { |
... | ... | @@ -132,7 +133,7 @@ export default { |
132 | 133 | //解绑 |
133 | 134 | let httpData = { |
134 | 135 | appUserId: e.data?.userId, |
135 | - thirdUserId: e.third?.thirdUserId == null ? this.openIds : e.third?.thirdUserId | |
136 | + thirdUserId: e.data?.thirdUserId == null ? this.openIds : e.data?.thirdUserId | |
136 | 137 | }; |
137 | 138 | uni.$u.http.delete('/yt/third', httpData).then(res => { |
138 | 139 | if (res) { | ... | ... |