Commit 8fc820df4abb3bbe2925ec7d77125150a73dea8d

Authored by fengtao
1 parent 1d4b6052

fix:修改解绑获取openid

... ... @@ -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) {
... ...