陌上09
2016-04-07 09:22
Uncaught SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'file:///D:/bdd-web%20app/carTimeList.html' cannot be created in a document with origin 'null' and URL 'file:///D:/bdd-web%20app/carTimeList.html'.
chrome浏览器?
在引入jqm前加这么一段
<script>
$(document).bind('mobileinit',function(){
$.mobile.changePage.defaults.changeHash = false;
$.mobile.hashListeningEnabled = false;
$.mobile.pushStateEnabled = false;
});
</script>
贴代码!
jQM Web App –列车时刻表
38490 学习 · 188 问题
相似问题