提交 41ee7fcb authored 作者: 王鹏飞's avatar 王鹏飞

登录修改

上级 3aecaae5
...@@ -102,8 +102,8 @@ export default { ...@@ -102,8 +102,8 @@ export default {
}) })
this.$store.commit('setToken', response.data.TGC) this.$store.commit('setToken', response.data.TGC)
if (this.isWeapp) { if (this.isWeapp) {
// wx.miniProgram.navigateBack()
wx.miniProgram.postMessage({ data: { token: response.data.TGC } }) wx.miniProgram.postMessage({ data: { token: response.data.TGC } })
wx.miniProgram.navigateBack()
return return
} }
if (this.redirectURI) { if (this.redirectURI) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论