fix: 修改监听的内容设置

This commit is contained in:
奔跑的面条
2022-04-07 15:28:25 +08:00
parent 38a49d68e5
commit 2fafb3d7de
3 changed files with 8 additions and 3 deletions
+4
View File
@@ -54,6 +54,9 @@ const previewHandle = () => {
routerTurnByPath(path, [previewId], undefined, true)
}
// 导入
const importHandle = () => {}
// 导出
const exportHandle = () => {
// 导出数据
@@ -115,6 +118,7 @@ const btnList = shallowReactive([
event: sendHandle
}
])
</script>
<style lang="scss" scoped>
.align-center {
+1 -1
View File
@@ -70,7 +70,7 @@ const KeyboardHandle = (e: KeyboardEvent) => {
}
export const useAddKeyboard = () => {
addEventListener(document, 'keyup', KeyboardHandle)
addEventListener(document, 'keyup', KeyboardHandle, 20)
}
export const useRemoveKeyboard = () => {