页面报Uncaught TypeError: Cannot read property ‘match‘ of null的解决方法

找了好久终于找到问题所在,居然是A标签有问题

把里面的a标签换成span或者其他的就可以了,a标签没有href时,点击就会报Uncaught TypeError: Cannot read property 'match' of null

posted @ 2022-03-05 19:45  小轩溪  阅读(768)  评论(0)    收藏  举报