refactor: 拆分档案详情与追溯码管理

This commit is contained in:
Nixevol
2026-07-03 04:28:18 +08:00
parent b95e9f8949
commit 9eda1b722a
8 changed files with 121 additions and 29 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ const menuOptions = computed<MenuOption[]>(() => {
);
});
const activeKey = computed(() => (['artwork-detail', '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 userOptions = computed(() => [