本人在项目中遇到一个问题,写一个a链接标签如下: 点击该链接时,页面没有调用openMissionRptDetail()函数,而跳转到了首页。 处理方法是把href改成href="javascript:void(0)",如下: