21ba278a778ef9ec85b0de5678bd1b6a9617ae78
根因: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>
Description
No description provided
Languages
Java
49.4%
Vue
44.9%
JavaScript
4.6%
HTML
0.7%
SCSS
0.1%