漏洞
| 漏洞 ID 编号 | BUG-000127418 |
|---|---|
| 已提交 | December 16, 2019 |
| 上次修改时间 | July 20, 2025 |
| 适用范围 | ArcGIS API for JavaScript |
| 找到的版本 | 4.13 |
| 操作系统 | Windows OS |
| 操作系统版本 | 10.0 64 Bit |
| 修正版本 | 4.15 |
| 状态 | Fixed |
Add the additional code to reflect the changes within the Legend.
Uncomment line 39-58 in the codepen sample to see the changes:
if(true){
LegendViewModel.prototype._addActiveLayerInfo = function(e, t) {
if (this._isLayerActive(t) && -1 === this.activeLayerInfos.indexOf(e)) {
var r = e.parent;
if(r){
if(-1 === r.children.indexOf(e)){
r.children.push(e)
};
this._sortActiveLayerInfos(r.children)
}else{
this.activeLayerInfos.add(e);
this._sortActiveLayerInfos(this.activeLayerInfos);
}
}
}
}
漏洞 ID: BUG-000127418
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序