mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-05 23:16:52 +00:00
feature:
新增字数统计功能
This commit is contained in:
@@ -56,7 +56,6 @@ const Index = ({ allPosts, tags, categories }) => {
|
||||
() => {
|
||||
if (window) {
|
||||
const anchor = window.location.hash
|
||||
console.log('滚动', anchor)
|
||||
if (anchor) {
|
||||
setTimeout(() => {
|
||||
const anchorElement = document.getElementById(anchor.substring(1))
|
||||
|
||||
Reference in New Issue
Block a user