- 在 BusinessZone.tsx 中将硬编码的急诊标签替换为 FormattedMessage 组件,实现国际化支持 改动文件: - src/layouts/BusinessZone.tsx
@@ -2,6 +2,16 @@
本项目的所有重要变更都将记录在此文件中。
+## [1.54.0] - 2026-01-06 16:57
+
+### 新增 (Added)
+- **实现急诊按钮多语言支持** - 将硬编码的急诊标签替换为 FormattedMessage 组件,实现国际化支持
+**改动文件:**
+- src/layouts/BusinessZone.tsx
## [1.53.2] - 2026-01-06 16:17
### 修复 (Fixed)
@@ -1,6 +1,6 @@
{
"name": "zsis",
- "version": "1.53.2",
+ "version": "1.54.0",
"private": true,
"description": "医学成像系统",
"main": "main.js",
@@ -100,7 +100,12 @@ function useItems(btnAvailability: Record<string, boolean>, productName: 'DROS'
key: 'emergency',
//icon: 'Emergency',
- label: '急诊',
+ label: (
+ <FormattedMessage
+ id="login.emergency"
+ defaultMessage={'语言包中没有定义patient的翻译文本'}
+ />
+ ),
disabled: !btnAvailability['emergency'],
},