Skip to content

Commit fadc972

Browse files
author
幾米
committed
webApp 不适用 pushState
1 parent d38faff commit fadc972

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎box/chavy.boxjs.html‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,6 +1694,9 @@ <h2 :class="version === ver.version ? 'primary--text' : undefined">v{{ver.versio
16941694
this.ui.scrollY[this.path] = event.currentTarget.scrollY
16951695
},
16961696
handleHistory(path) {
1697+
if(this.isWebApp == true) {
1698+
return
1699+
}
16971700
const state = { title: 'BoxJs', url: path };
16981701

16991702
if (!history.state) {

0 commit comments

Comments
 (0)