Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
modeng-web
Project
Overview
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
邢保振
modeng-web
Commits
f60405ce
Commit
f60405ce
authored
Dec 15, 2023
by
zhaoqingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
阿拉丁-魔登
parent
13a2a445
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
simulateLogin.js
src/api/operation/simulateLogin.js
+5
-2
No files found.
src/api/operation/simulateLogin.js
View file @
f60405ce
...
...
@@ -10,8 +10,10 @@ export function autoLogin(data) {
}).
then
(
res
=>
{
const
authToken
=
res
.
data
if
(
authToken
){
console
.
log
(
'https://test2.adsdesk.cn/login?authToken='
+
authToken
)
window
.
open
(
'https://test2.adsdesk.cn/login?authToken='
+
authToken
)
var
loginUrl
=
'https://test2.adsdesk.cn/login?authToken='
+
authToken
;
console
.
log
(
loginUrl
)
//window.open('https://test2.adsdesk.cn/login?authToken=' + authToken)
window
.
open
(
loginUrl
,
'__blank'
)
}
})
}
\ No newline at end of file
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