fix: 修复看板跳转追溯码页布局
This commit is contained in:
@@ -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(() => [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="page">
|
||||
<div class="page table-page trace-codes-page">
|
||||
<trace-code-panel />
|
||||
</div>
|
||||
</template>
|
||||
@@ -7,3 +7,9 @@
|
||||
<script setup lang="ts">
|
||||
import TraceCodePanel from '@/components/TraceCodePanel.vue';
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.trace-codes-page {
|
||||
min-width: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user