Commit cc96f285 by 张立顺

去除alert

1 parent 04b4f507
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
console.log(JSON.stringify(res)) console.log(JSON.stringify(res))
res.authCode && that.getOpenId(res.authCode) res.authCode && that.getOpenId(res.authCode)
}, function (res) { }, function (res) {
alert(JSON.stringify(res)) // alert(JSON.stringify(res))
console.log('res.fail', res) console.log('res.fail', res)
// res.authCode && that.getOpenId(res.authCode) // res.authCode && that.getOpenId(res.authCode)
}) })
...@@ -166,12 +166,12 @@ export default { ...@@ -166,12 +166,12 @@ export default {
console.log(alipayOauthToken) console.log(alipayOauthToken)
// !code&&console.log('alipayOauthToken') // !code&&console.log('alipayOauthToken')
code && alipayOauthToken({ code }).then((result) => { code && alipayOauthToken({ code }).then((result) => {
alert('alipayOauthToken', JSON.stringify(result)) // alert('alipayOauthToken', JSON.stringify(result))
console.log('alipayOauthToken', result) console.log('alipayOauthToken', result)
const { userId } = result const { userId } = result
this.userId = userId this.userId = userId
}).catch((err) => { }).catch((err) => {
alert(JSON.stringify(err)) // alert(JSON.stringify(err))
// ap.alert(JSON.stringify(err)) // ap.alert(JSON.stringify(err))
console.log('err', 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!