refactor: 拆分档案详情与追溯码管理
This commit is contained in:
@@ -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(() => [
|
||||
|
||||
Reference in New Issue
Block a user