style(web): 统一辣椒红主色与菜单层级

This commit is contained in:
Zhou Weidong committed 2026-10-19 12:00:21 +08:00
1 parent 3e8312ea58
commit ba90bf9bfb
11 files changed
+185 -40

No files matched your search

@@ -93,7 +93,7 @@ export function useMenuManagement() {
routePath: raw.path || '',
routeName: raw.name || '',
component: raw.component === '#' ? '' : raw.component || '',
icon: normalizeAppIcon(raw.icon),
icon: raw.type === 'CATALOG' ? normalizeAppIcon(raw.icon) : '',
permissionCode: raw.permissionCode || '',
type: raw.type || 'MENU',
sort: raw.sort ?? 1,
@@ -113,7 +113,7 @@ export function useMenuManagement() {
routePath: form.routePath.trim(),
routeName: form.routeName.trim(),
component: form.type === 'CATALOG' ? '#' : form.component.trim(),
icon: form.type === 'BUTTON' ? '' : normalizeAppIcon(form.icon),
icon: form.type === 'CATALOG' ? normalizeAppIcon(form.icon) : '',
permissionCode: form.permissionCode.trim(),
type: form.type,
sort: Number(form.sort) || 1,