6258aa2589e9377746682cacf3a4be885ee974e8
根因分析(与testApplication.vue对比发现): 1. getLocationInfo不是async函数,handleViewDetail中使用new Promise手动包装getDepartmentList 作为降级方案,如果API调用失败则Promise永远不resolve(缺少catch),导致后续逻辑挂起 2. recursionFun缺少空值保护和break语句,可能在找到匹配后继续无效遍历 修复: - getLocationInfo改为async/await模式(与testApplication.vue保持一致) - handleViewDetail使用await getLocationInfo()替代不可靠的Promise包装 - recursionFun增加空值提前返回和break优化
Description
No description provided
Languages
Java
49.5%
Vue
44.8%
JavaScript
4.6%
HTML
0.7%
SCSS
0.1%