feat: 秘钥管理 web v1
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<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";
|
||||
@@ -15,6 +16,9 @@ const isLoggedIn = computed(() => !!authKey.value);
|
||||
<layout v-if="isLoggedIn" key="layout" />
|
||||
<router-view v-else key="auth" />
|
||||
</transition>
|
||||
|
||||
<!-- 全局任务进度条 -->
|
||||
<global-task-progress-bar />
|
||||
</div>
|
||||
</global-providers>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user