[Solution found!] 我认为您需要使用event.currentTarget。这将包含实际具有事件侦听器的元素。因此,如果整个<section>事件监听器event.target都将是clicked元素 ...
確定! 回上一頁