* 判断给定节点 id 是否应该新建(不在索引中)或仅更新位置。
(entityIndex, eid)
| 348 | * 判断给定节点 id 是否应该新建(不在索引中)或仅更新位置。 |
| 349 | */ |
| 350 | function needsCreate(entityIndex, eid) { |
| 351 | return !Object.prototype.hasOwnProperty.call(entityIndex, eid); |
| 352 | } |
| 353 | |
| 354 | /** |
| 355 | * 构造链路 key,镜像 updateRequestLinks 中的 `${req.id}:sat-gs` 等格式。 |