摘要:
在单页面应用中,会导致,history 跳转两次的情况: 要使用: 代替! 阅读全文
posted @ 2017-09-22 14:13
快乐的咸鱼
阅读(315)
评论(0)
推荐(0)
摘要:
var detectBack = { initialize: function() { $(window).unbind('hashchange').bind('hashchange', function(){ }); $(window).unbind('popstate').bind('pop... 阅读全文
posted @ 2017-09-22 13:39
快乐的咸鱼
阅读(128)
评论(0)
推荐(0)
摘要:
浏览器会在跳转时,先将汉字编译成 Unicode,然后跳转,导致hash值改变两次,相当于history 中 加入了两次URL 阅读全文
posted @ 2017-09-22 11:43
快乐的咸鱼
阅读(321)
评论(0)
推荐(0)

浙公网安备 33010602011771号