mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-10-23 20:51:18 +08:00
feat: 进入插件后自动滚动到顶部
This commit is contained in:
@@ -56,7 +56,7 @@ const updateShowList = (type) => {
|
||||
.filter((item) => item.data.indexOf(filterText.value) !== -1)
|
||||
.slice(0, GAP)
|
||||
}
|
||||
document.scrollingElement.scrollTop = 0
|
||||
window.toTop()
|
||||
}
|
||||
|
||||
const fullData = ref({ type: 'text', data: '' })
|
||||
|
Reference in New Issue
Block a user