Skip to content

Commit f79faa8

Browse files
author
幾米
committed
支持手势、按钮前进后退浏览历史
1 parent f63900e commit f79faa8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎box/chavy.boxjs.html‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1673,7 +1673,6 @@ <h2 :class="version === ver.version ? 'primary--text' : undefined">v{{ver.versio
16731673
}
16741674
// 监听浏览器后退事件
16751675
window.addEventListener('popstate', (e) => {
1676-
console.log(e)
16771676
this.path = e.state.url
16781677
}, false)
16791678
// 如果后端没有渲染数据, 则发出请求获取数据

0 commit comments

Comments
 (0)