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