Files
his/openhis-ui-vue3
guanyu 21ba278a77 Fix Bug #433: 门诊手术安排编辑弹窗麻醉方法回显为代码且外请专家姓名未加载修复
根因:setupAnesDataWatch 的 watch({ immediate: true }) 在字典未加载时触发,
因合并条件判断同时检查字典长度和pendingAnesData,导致字典未加载时不进入
处理逻辑但也不清理watch。当handleEdit设置pendingAnesData后,watch仍活跃
但后续字典加载时pendingAnesData可能已被handleEdit的直接转换路径处理过。

修复:
1. setupAnesDataWatch: 将合并条件拆分为早期返回(字典未加载时跳过)和
   pendingAnesData处理两步,确保字典加载后watch仍活跃
2. handleEdit/handleView: 显式赋值externalExpertName确保响应式更新

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 18:13:34 +08:00
..

The file is empty.