MUI插件中a标签跳转的漏洞

起因:点击a标签不能跳转

原因:mui组件中上拉或者下拉刷新组件中 a标签的默认行为被mui阻止了

解决:使用js的方式来跳转,如以下代码

        

$("body").on("tap", "a", function () {
      location.href = this.href;
})

猜你喜欢

转载自blog.csdn.net/Hgh_1997/article/details/82630894