From 6f22c73d99e89a9820d2b00035e089f2875b78a6 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Wed, 22 Nov 2023 12:59:30 +0800 Subject: [PATCH] fix code --- .../components/material/Pagination.vue | 52 +++++++++++-------- .../components/material/SearchInput.vue | 1 + 2 files changed, 30 insertions(+), 23 deletions(-) diff --git a/src/renderer/components/material/Pagination.vue b/src/renderer/components/material/Pagination.vue index 7e6f1beb..b33a87de 100644 --- a/src/renderer/components/material/Pagination.vue +++ b/src/renderer/components/material/Pagination.vue @@ -51,6 +51,7 @@ diff --git a/src/renderer/components/material/SearchInput.vue b/src/renderer/components/material/SearchInput.vue index 921ef08d..84afa7d3 100644 --- a/src/renderer/components/material/SearchInput.vue +++ b/src/renderer/components/material/SearchInput.vue @@ -120,6 +120,7 @@ export default { handleRegisterEvent(action) { let eventHub = window.key_event let name = action == 'on' ? 'on' : 'off' + // eslint-disable-next-line @typescript-eslint/unbound-method eventHub[name](HOTKEY_COMMON.focusSearchInput.action, this.handleFocusInput) }, handleFocusInput() {