Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivomo committed Feb 17, 2023
2 parents dbfed04 + 4a34174 commit a1ea178
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions draft/front-end-interaction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 前端交互优化

### 浏览器刷新不滚动到刷新前的位置
```js
// 默认是 auto
history.scrollRestoration = 'manual'
```

0 comments on commit a1ea178

Please sign in to comment.