alibaba/BeeHive

关于BHRouter中的一个判断逻辑

Closed this issue · 0 comments

icash commented

在 + canOpenURL中的pathComponents enumerateObjectsUsingBlock循环中

 NSString *pathComponentKey = subPaths.firstObject;
 if (router.pathComponentByKey[pathComponentKey]) {
            return;
 }

这个判断是检查pathComponentByKey中是否有注册此项。这里的判断是否应该是找到时继续呢?