Feature: 将单组件管理修改为路由模式

This commit is contained in:
2025-07-16 14:50:01 +08:00
parent 228f1ddcac
commit bed128a0ba
13 changed files with 402 additions and 339 deletions

33
src/config/navigation.ts Normal file
View File

@ -0,0 +1,33 @@
export interface NavigationItem {
title: string
to: string
icon?: string
component?: string
}
export const navigationConfig: NavigationItem[] = [
{
title: 'paperTubeWeightCalculate',
to: '/calculators/paper-tube-weight',
},
{
title: 'beltSpecificationCalculate',
to: '/calculators/belt-specification',
},
{
title: 'paperRollWeightLengthCalculate',
to: '/calculators/paper-roll-weight-length',
},
{
title: 'paperTubeProductionCalculate',
to: '/calculators/paper-tube-production',
},
{
title: 'paperTapeWidthAngleCalculate',
to: '/calculators/paper-tape-width-angle',
},
{
title: 'multiLayerPaperTapeWidthAngleCalculate',
to: '/calculators/multi-layer-paper-tape-width-angle',
},
]