fix: 导航栏标题

This commit is contained in:
TsMask
2023-09-21 21:03:13 +08:00
committed by lai
parent 0e95866854
commit 3789f0db02

View File

@@ -134,7 +134,9 @@ tabsStore.clear();
<template #menuHeaderRender>
<RouterLink :to="{ name: 'Index' }" :replace="true">
<img class="logo" src="@/assets/logo.png" />
<h1>{{ appName }}</h1>
<h1 class="title" :title="t('common.title')">
{{ t('common.title') }}
</h1>
</RouterLink>
</template>
@@ -201,4 +203,11 @@ tabsStore.clear();
border-style: none;
border-radius: 6.66px;
}
.title {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 180px;
}
</style>