Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-h5-ailipay
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cc96f285
authored
Sep 13, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去除alert
1 parent
04b4f507
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/alipay/index.vue
src/views/alipay/index.vue
View file @
cc96f28
...
@@ -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
)
})
})
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment