fix: 修复看板跳转追溯码页布局

This commit is contained in:
Nixevol
2026-07-05 01:58:37 +08:00
parent 41133a3db5
commit 6a354b36ed
3 changed files with 12 additions and 2 deletions
+4 -1
View File
@@ -112,7 +112,10 @@ const menuOptions = computed<MenuOption[]>(() => {
});
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(() => {
if (route.name === 'traceCodes' || route.name === 'artwork-trace-codes') return t('pages.artwork.traceCodeManage');
return activeKey.value ? t(`menu.${activeKey.value}`) : '';
});
const browserTitle = computed(() => (currentTitle.value ? `${appName.value} - ${currentTitle.value}` : appName.value));
const userOptions = computed(() => [