Files
xiaobaifupan/next/frontend/src/app/shell/StatusBar.vue
T

18 lines
526 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<script setup lang="ts">
import { computed } from "vue";
import { useRoute } from "vue-router";
import { findWorkspace } from "../workspaceRegistry";
const route = useRoute();
const title = computed(() => findWorkspace(String(route.params.workspace ?? ""))?.title ?? "系统管理");
</script>
<template>
<footer class="statusbar">
<span>{{ title }}</span>
<span class="statusbar-center">股市有风险投资需谨慎</span>
<span class="statusbar-right">等待行情数据</span>
</footer>
</template>