Parcourir la source

fix: 修复选择鸟类患者类型后不显示示意图的问题

- 在 AnimalBody.tsx 的 switch 语句中添加 'Birds' case
- 将 Birds 类型映射到 ExoticPets 组件显示
- 升级版本号从 1.1.3 到 1.1.4

改动文件:
- src/components/AnimalBody.tsx
- package.json
dengdx il y a 5 jours
Parent
commit
7995027a5a
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 1
      package.json
  2. 1 0
      src/components/AnimalBody.tsx

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "zsis",
-  "version": "1.1.3",
+  "version": "1.1.4",
   "private": true,
   "description": "医学成像系统",
   "main": "main.js",

+ 1 - 0
src/components/AnimalBody.tsx

@@ -36,6 +36,7 @@ const AnimalBody = ({
       case 'Snake':
       case 'Turtle':
       case 'Gnawer':
+      case 'Birds':
         return (
           <ExoticPets onPathClick={onPathClick} selectedId={selectedId ?? ''} />
         );