From ea8f5b15fa108b803704a285c8695399c7d1eefd Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期一, 06 一月 2025 14:06:34 +0800 Subject: [PATCH] pickHistory --- src/layout/main/classic.vue | 15 +-------------- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/src/layout/main/classic.vue b/src/layout/main/classic.vue index 883426f..98df273 100644 --- a/src/layout/main/classic.vue +++ b/src/layout/main/classic.vue @@ -8,25 +8,12 @@ import { storeToRefs } from 'pinia'; import { computed, defineAsyncComponent, nextTick, onMounted, ref, watch } from 'vue'; import { useRoute } from 'vue-router'; -import { PostLogin } from '/@/api/ai/user'; import { useThemeConfig } from '/@/stores/themeConfig'; - -const login = () => { - return PostLogin({ - user: 'tc', - pass: 'a', - }); -}; // 寮曞叆缁勪欢 const LayoutMain = defineAsyncComponent(async () => { - try { - await login(); - } finally { - // eslint-disable-next-line no-unsafe-finally - return import('/@/layout/component/main.vue'); - } + return import('/@/layout/component/main.vue'); }); // 瀹氫箟鍙橀噺鍐呭 -- Gitblit v1.9.3