原因: a标签的href跳转会执行在window.location.href设置的跳转之前
解决:
window.event.returnValue=false
window.location.href = ip + 'html/pub/login.html'
原因: a标签的href跳转会执行在window.location.href设置的跳转之前
解决:
window.event.returnValue=false
window.location.href = ip + 'html/pub/login.html'