Commit cc96f285 by 张立顺

去除alert

1 parent 04b4f507
......@@ -144,7 +144,7 @@ export default {
console.log(JSON.stringify(res))
res.authCode && that.getOpenId(res.authCode)
}, function (res) {
alert(JSON.stringify(res))
// alert(JSON.stringify(res))
console.log('res.fail', res)
// res.authCode && that.getOpenId(res.authCode)
})
......@@ -166,12 +166,12 @@ export default {
console.log(alipayOauthToken)
// !code&&console.log('alipayOauthToken')
code && alipayOauthToken({ code }).then((result) => {
alert('alipayOauthToken', JSON.stringify(result))
// alert('alipayOauthToken', JSON.stringify(result))
console.log('alipayOauthToken', result)
const { userId } = result
this.userId = userId
}).catch((err) => {
alert(JSON.stringify(err))
// alert(JSON.stringify(err))
// ap.alert(JSON.stringify(err))
console.log('err', err)
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!