如何获取报表块里的地图组件层级
这么写不行嘛?
var chart = FR.Chart.WebUtils.getChart("A4","地图").getChartWithIndex(0); var layer = chart.getLayerIndex(); //获取钻取层级
console.log(layer);
-----------------
找到问题了,这段js要放在超级链接中,不能放在 添加链接中。
获取钻取地图当前层级接口 https://help.fanruan.com/finereport/doc-view-3940.html