Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
Z
zxn-adputin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lijin
zxn-adputin
Commits
2edfc4fd
Commit
2edfc4fd
authored
Dec 23, 2024
by
jiyonggang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加一个重定向的判断
parent
2fbeafe4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
googleOauthYoutube.vue
src/views/authAccount/googleOauthYoutube.vue
+3
-7
No files found.
src/views/authAccount/googleOauthYoutube.vue
View file @
2edfc4fd
...
...
@@ -68,15 +68,11 @@ export default {
const
urlParams
=
new
URLSearchParams
(
window
.
location
.
search
);
const
success
=
urlParams
.
get
(
'success'
);
const
error
=
urlParams
.
get
(
'error'
);
if
(
success
===
'true'
)
{
this
.
showSuccessMessage
=
true
;
setTimeout
(()
=>
{
this
.
showSuccessMessage
=
false
;
},
3000
);
this
.
$message
.
success
(
'授权成功!'
);
this
.
getTokenList
();
}
else
if
(
success
===
'false'
)
{
this
.
showErrorMessage
=
true
;
this
.
errorMessage
=
error
||
'未知错误'
;
this
.
$message
.
error
(
`授权失败:
${
error
||
'未知错误'
}
`
);
}
},
methods
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment