Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
aserver-ui
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
15所TongWeb
aserver-ui
Commits
0cce5bb5
Commit
0cce5bb5
authored
Jul 26, 2022
by
wanghuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
输出打印
parent
6b4c1082
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Login.vue
src/views/login/Login.vue
+4
-0
No files found.
src/views/login/Login.vue
View file @
0cce5bb5
...
...
@@ -290,12 +290,16 @@ export default {
/**LiuKexin 20210311 区分默认首页和设置首页的callback start */
let
callback
=
res
.
data
.
callback
if
(
callback
)
{
console
.
log
(
this
.
isHaveHome
);
console
.
log
(
this
.
appUrl
+
callback
.
split
(
"#"
)[
0
]
+
"?token="
+
res
.
data
.
token
+
"#"
+
callback
.
split
(
"#"
)[
1
]);
console
.
log
(
this
.
appUrl
+
callback
+
'?token='
+
res
.
data
.
token
);
document
.
location
.
href
=
this
.
isHaveHome
?
this
.
appUrl
+
callback
.
split
(
"#"
)[
0
]
+
"?token="
+
res
.
data
.
token
+
"#"
+
callback
.
split
(
"#"
)[
1
]
:
this
.
appUrl
+
callback
+
'?token='
+
res
.
data
.
token
/**LiuKexin 20210311 区分默认首页和设置首页的callback end */
}
else
{
console
.
log
(
this
.
appUrl
+
this
.
form
.
callback
+
'?token='
+
res
.
data
.
token
);
document
.
location
.
href
=
this
.
appUrl
+
this
.
form
.
callback
+
'?token='
+
res
.
data
.
token
}
this
.
setSuccess
()
...
...
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