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

docs: uni-id

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