a标签不跳转

  a[data-href] {
        pointer-events: none;
    }
原文地址:https://www.cnblogs.com/tangchun/p/14819690.html