单点修改

This commit is contained in:
mll
2026-03-07 00:24:15 +08:00
parent 5b3c7d8327
commit 0caec67d4a
3 changed files with 26 additions and 9 deletions

View File

@@ -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 {

View File

@@ -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 })
}