提交 e9a38c2a 编写于 作者: 雪洛's avatar 雪洛

docs: uni-id

上级 9632387f
...@@ -1387,10 +1387,10 @@ export default { ...@@ -1387,10 +1387,10 @@ export default {
}).then((res) => { }).then((res) => {
uni.showModal({ uni.showModal({
showCancel: false, showCancel: false,
content: JSON.stringify(e.result) content: JSON.stringify(res.result)
}) })
if (res.result.code === 0) { if (res.result.code === 0) {
uni.setStorageSync('uniIdToken', e.result.token) uni.setStorageSync('uniIdToken', res.result.token)
} }
}).catch(() => { }).catch(() => {
uni.showModal({ uni.showModal({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册