Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
activities
/
web-job
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
02592dec
authored
Sep 07, 2022
by
Lays-lzq
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/login' into test
parents
d06ecaad
ab5cba35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
pages/Index/index.vue
+4
-4
No files found.
pages/Index/index.vue
View file @
02592dec
...
...
@@ -148,12 +148,12 @@ export default {
}
if
(
this
.
token
)
{
postMessage
.
replaceTo
(
`
https://
${
process
.
env
.
CUSTOMER_DOMAIN
}
/job/submit?id=
${
submitId
}
&uin=
${
this
.
$route
.
query
.
uin
}
&tempId=
${
this
.
$route
.
query
.
id
}
`
`
${
process
.
env
.
NODE_ENV
===
'production'
?
origin
:
process
.
env
.
CUSTOMER_DOMAIN
}
/job/submit?id=
${
submitId
}
&uin=
${
this
.
$route
.
query
.
uin
}
&tempId=
${
this
.
$route
.
query
.
id
}
`
)
}
else
{
this
.
$toast
(
'请先登录'
)
postMessage
.
locationTo
(
`
https://
${
process
.
env
.
CUSTOMER_DOMAIN
}
/my/login?uin=
${
this
.
$route
.
query
.
uin
}
`
`
${
process
.
env
.
NODE_ENV
===
'production'
?
origin
:
process
.
env
.
CUSTOMER_DOMAIN
}
/my/login?uin=
${
this
.
$route
.
query
.
uin
}
`
)
}
},
...
...
@@ -171,12 +171,12 @@ export default {
}
if
(
this
.
token
)
{
postMessage
.
replaceTo
(
`
https://
${
process
.
env
.
CUSTOMER_DOMAIN
}
/job/detail?id=
${
submitId
}
&uin=
${
this
.
$route
.
query
.
uin
}
&tempId=
${
this
.
$route
.
query
.
id
}
`
`
${
process
.
env
.
NODE_ENV
===
'production'
?
origin
:
process
.
env
.
CUSTOMER_DOMAIN
}
/job/detail?id=
${
submitId
}
&uin=
${
this
.
$route
.
query
.
uin
}
&tempId=
${
this
.
$route
.
query
.
id
}
`
)
}
else
{
this
.
$toast
(
'请先登录'
)
postMessage
.
locationTo
(
`
https://
${
process
.
env
.
CUSTOMER_DOMAIN
}
/my/login?uin=
${
this
.
$route
.
query
.
uin
}
`
`
${
process
.
env
.
NODE_ENV
===
'production'
?
origin
:
process
.
env
.
CUSTOMER_DOMAIN
}
/my/login?uin=
${
this
.
$route
.
query
.
uin
}
`
)
}
},
...
...
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