feat: 上下键切换选中 Enter执行复制+粘贴 Ctrl+C执行复制

This commit is contained in:
ZiuChen
2022-08-16 18:25:38 +08:00
parent 18ebf90191
commit 5c58a8ca7f
3 changed files with 48 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ onMounted(() => {
// 列表懒加载
document.addEventListener('scroll', (e) => {
const { scrollTop, clientHeight, scrollHeight } = e.target.scrollingElement
if (scrollTop + clientHeight + 20 >= scrollHeight) {
if (scrollTop + clientHeight + 5 >= scrollHeight) {
offset.value += GAP
let addition = []
if (activeTab.value !== 'all') {