Commit f60405ce by zhaoqingwei

阿拉丁-魔登

parent 13a2a445
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment