This commit is contained in:
hptangxi
2025-07-07 09:58:45 +08:00
parent 0f85381082
commit 639fdd413f
8 changed files with 66 additions and 43 deletions

View File

@@ -1,6 +1,5 @@
<script setup lang="ts">
import GlobalProviders from "@/components/GlobalProviders.vue";
import GlobalTaskProgressBar from "@/components/GlobalTaskProgressBar.vue";
import Layout from "@/components/Layout.vue";
import { useAuthKey } from "@/services/auth";
import { computed } from "vue";
@@ -14,9 +13,6 @@ const isLoggedIn = computed(() => !!authKey.value);
<div id="app-root">
<layout v-if="isLoggedIn" key="layout" />
<router-view v-else key="auth" />
<!-- 全局任务进度条 -->
<global-task-progress-bar />
</div>
</global-providers>
</template>