Auto Commit

上级 0367277f
......@@ -205,6 +205,13 @@ function initFirstData() {
state.searchValue = storageUid
onSearch()
}
document.addEventListener('keydown', (e) => {
console.log(e, 'e')
if (e.ctrlKey && e.keyCode === 79) {
console.log('Ctrl+y');
onSearch()
}
})
// storage
// if (state.dataSource) {
// initFirstData();
......@@ -221,13 +228,7 @@ function initFirstData() {
}
})
document.addEventListener('keydown', (e) => {
console.log(e, 'e')
if (e.ctrlKey && e.keyCode === 79) {
console.log('Ctrl+y');
onSearch()
}
})
}
</script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册