fix: 调整浏览器标题显示顺序
This commit is contained in:
@@ -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) },
|
||||||
|
|||||||
Reference in New Issue
Block a user