2016-08-22 127 views

回答

4

handleLinkClick将获得参数event。在此参数中有一个stopPropagation方法。您需要调用它。

function handleLinkClick(e){ 
    e.stopPropagation(); 
}