From a82cd856b4ee87a36f9da8aeb34a02cad9da658b Mon Sep 17 00:00:00 2001 From: zzh <1368735060@qq.com> Date: Tue, 1 Dec 2026 19:30:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E6=8E=89=20menu-i18n=20?= =?UTF-8?q?=E4=B8=AD=E9=87=8D=E5=A4=8D=E7=9A=84=E3=80=8C=E8=B5=84=E9=87=91?= =?UTF-8?q?=E6=B5=81=E6=B0=B4=E3=80=8D=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 客户门户同名菜单改靠 path 解析,中文名兜底保留财务侧,消除 esbuild Duplicate key 告警。 Co-authored-by: Cursor --- src/utils/menu-i18n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/menu-i18n.ts b/src/utils/menu-i18n.ts index b0c0660..99dda78 100644 --- a/src/utils/menu-i18n.ts +++ b/src/utils/menu-i18n.ts @@ -16,12 +16,12 @@ export const MENU_NAME_TO_LOCALE_KEY: Record = { 资金充值: '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',