单点修改
This commit is contained in:
@@ -89,9 +89,6 @@ export default {
|
||||
appsData: []
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.fetchApps()
|
||||
},
|
||||
computed: {
|
||||
categorizedApps() {
|
||||
const result = {};
|
||||
@@ -135,6 +132,9 @@ export default {
|
||||
return Object.keys(this.filteredCategories).length;
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.fetchApps()
|
||||
},
|
||||
methods: {
|
||||
async fetchApps() {
|
||||
try {
|
||||
|
||||
@@ -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