首先解决mui框架 a标签不能跳转问题(被覆盖)
js添加:
mui('nav').on('tap','a',function(){document.location.href=this.href;});
在原本跳转的链接上带上任意参数,例如这样:
<a id="task" class="mui-tab-item mui-active" href="task.html?go=true">
就可以解决了。
首先解决mui框架 a标签不能跳转问题(被覆盖)
js添加:
mui('nav').on('tap','a',function(){document.location.href=this.href;});
在原本跳转的链接上带上任意参数,例如这样:
<a id="task" class="mui-tab-item mui-active" href="task.html?go=true">
就可以解决了。