最佳答案
在我的 Angular 2应用程序中,我试图禁用一个 routerLink,但是没有成功。我曾经尝试处理 click事件上的 click 事件(使用 event.preventDefault()和 event.stopPropagation()) ,但是它不起作用。
如何禁用路由器连结?