fix: 调整浏览器标题显示顺序

This commit is contained in:
Nixevol
2026-07-05 01:33:06 +08:00
parent b51f26213b
commit 7be20544e7
+1 -1
View File
@@ -113,7 +113,7 @@ const menuOptions = computed<MenuOption[]>(() => {
const activeKey = computed(() => (['artwork-detail', 'artwork-trace-codes', 'traceCodes'].includes(route.name as string) ? 'artworks' : (route.name as string))); const activeKey = computed(() => (['artwork-detail', 'artwork-trace-codes', 'traceCodes'].includes(route.name as string) ? 'artworks' : (route.name as string)));
const currentTitle = computed(() => (activeKey.value ? t(`menu.${activeKey.value}`) : '')); const currentTitle = computed(() => (activeKey.value ? t(`menu.${activeKey.value}`) : ''));
const browserTitle = computed(() => (currentTitle.value ? `${currentTitle.value} - ${appName.value}` : appName.value)); const browserTitle = computed(() => (currentTitle.value ? `${appName.value} - ${currentTitle.value}` : appName.value));
const userOptions = computed(() => [ const userOptions = computed(() => [
{ label: t('menu.profile'), key: 'profile', icon: renderIcon(KeyOutline) }, { label: t('menu.profile'), key: 'profile', icon: renderIcon(KeyOutline) },