var currentLayer = scene.layers.getSelectedLayer();
console.log(currentLayer); 想用这两行代码实现鼠标点击图层 获取图层信息的功能。可是console始终是undefined.