update 优化 全代码规范化处理

This commit is contained in:
疯狂的狮子Li
2024-11-26 15:29:22 +08:00
parent f203716f31
commit f3425493ed
45 changed files with 78 additions and 74 deletions

View File

@ -98,7 +98,7 @@ import { getTenantList } from '@/api/login';
import { dynamicClear, dynamicTenant } from '@/api/system/tenant';
import { TenantVO } from '@/api/types';
import notice from './notice/index.vue';
import router from "@/router";
import router from '@/router';
const appStore = useAppStore();
const userStore = useUserStore();
@ -170,7 +170,7 @@ const logout = async () => {
query: {
redirect: encodeURIComponent(router.currentRoute.value.fullPath || '/')
}
})
});
});
};

View File

@ -27,7 +27,7 @@ import { AppMain, Navbar, Settings, TagsView } from './components';
import useAppStore from '@/store/modules/app';
import useSettingsStore from '@/store/modules/settings';
import { initWebSocket } from '@/utils/websocket';
import { initSSE } from "@/utils/sse";
import { initSSE } from '@/utils/sse';
const settingsStore = useSettingsStore();
const theme = computed(() => settingsStore.theme);