单点修改
This commit is contained in:
@@ -141,7 +141,6 @@ const loginData = reactive({
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
// 获取验证码
|
||||
const getCode = async () => {
|
||||
// 情况一,未开启:则直接登录
|
||||
@@ -225,11 +224,12 @@ const handleLogin = async (params) => {
|
||||
debugger
|
||||
console.log(accessToken);
|
||||
if(ticketUrl!=null){
|
||||
|
||||
var urll=ticketUrl+"?ticket="+accessToken;
|
||||
window.location.href = urll
|
||||
var ssUrl=queryParams.get('ssUrl')
|
||||
window.location.href = urll+(ssUrl?"&redirect="+ssUrl:'');
|
||||
}else{
|
||||
|
||||
push({ path: redirect.value || permissionStore.addRouters[0].path })
|
||||
push({ path: redirect.value || permissionStore.addRouters[0].path })
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user