因为同时用了pointer-events:none;

解决办法:不用pointer-events:none;用cursor: not-allowed的同时,点击事件增加判断禁止条件

Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐