Commit fe1ead00cf2df66f43a14dc7517cc7edcd94f35d
1 parent
733b41fc
fix: login bug
Showing
1 changed file
with
1 additions
and
1 deletions
app.js
@@ -70,7 +70,7 @@ App({ | @@ -70,7 +70,7 @@ App({ | ||
70 | } = resp.data?.data?.user; | 70 | } = resp.data?.data?.user; |
71 | wx.setStorageSync('ssid', ssid); | 71 | wx.setStorageSync('ssid', ssid); |
72 | wx.setStorageSync('openid', openid); | 72 | wx.setStorageSync('openid', openid); |
73 | - resolve(resp.data?.data?.user); | 73 | + resolve(ssid); |
74 | }, | 74 | }, |
75 | fail: resp => { | 75 | fail: resp => { |
76 | wx.showModal({ | 76 | wx.showModal({ |