|
|
@ -1,11 +1,11 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="app-loading"> |
|
|
|
<div class="app-loading"> |
|
|
|
<div class="app-loading-wrap"> |
|
|
|
<div class="app-loading-wrap"> |
|
|
|
<img src="/resource/img/logo.png" class="app-loading-logo" alt="Logo"> |
|
|
|
<img src="/resource/img/comp/appLogo.png" class="app-loading-logo" alt="Logo"> |
|
|
|
<div class="app-loading-dots"> |
|
|
|
<div class="app-loading-dots"> |
|
|
|
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span> |
|
|
|
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
/*<div class="app-loading-title">国际教育学院比赛综合管理系统</div> |
|
|
|
<div class="app-loading-title">大数据双创应用竞赛管理系统</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -19,7 +19,7 @@ |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
import { useUserStore } from '/@/store/modules/user'; |
|
|
|
import { useUserStore } from '/@/store/modules/user'; |
|
|
|
import { useI18n } from '/@/hooks/web/useI18n'; |
|
|
|
import { useI18n } from '/@/hooks/web/useI18n'; |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: "TokenLogin", |
|
|
|
name: "TokenLogin", |
|
|
|
setup(){ |
|
|
|
setup(){ |
|
|
@ -31,7 +31,7 @@ |
|
|
|
if(!routeQuery){ |
|
|
|
if(!routeQuery){ |
|
|
|
createMessage.warning('参数无效') |
|
|
|
createMessage.warning('参数无效') |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const token = routeQuery['loginToken']; |
|
|
|
const token = routeQuery['loginToken']; |
|
|
|
if(!token){ |
|
|
|
if(!token){ |
|
|
|
createMessage.warning('token无效') |
|
|
|
createMessage.warning('token无效') |
|
|
@ -53,7 +53,7 @@ |
|
|
|
duration: 4, |
|
|
|
duration: 4, |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function requestSuccess(res){ |
|
|
|
function requestSuccess(res){ |
|
|
|
let info = routeQuery.info; |
|
|
|
let info = routeQuery.info; |
|
|
|
if(info){ |
|
|
|
if(info){ |
|
|
@ -206,4 +206,4 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
</style> |
|
|
|