fix: 去掉 menu-i18n 中重复的「资金流水」映射
All checks were successful
Build and Deploy Front / deploy (push) Successful in 12m44s

客户门户同名菜单改靠 path 解析,中文名兜底保留财务侧,消除 esbuild Duplicate key 告警。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zzh 2026-12-01 19:30:35 +08:00
parent 5bdccc52a0
commit a82cd856b4

View File

@ -16,12 +16,12 @@ export const MENU_NAME_TO_LOCALE_KEY: Record<string, string> = {
资金充值: 'menu.user.recharge',
财务: 'menu.finance',
充值记录: 'menu.finance.rechargeRecord',
// 客户门户同名菜单靠 path 解析;中文名兜底取财务侧(侧栏更常用)
资金流水: 'menu.finance.accountFlow',
应收应付: 'menu.finance.receivablePayable',
发票管理: 'menu.finance.invoiceManage',
抬头管理: 'menu.finance.invoiceProfile',
我的发票: 'menu.user.invoice',
资金流水: 'menu.user.accountFlow',
营销: 'menu.marketing',
营销指引: 'menu.marketing.marketingGuide',
订单: 'menu.order',