From afe5f18ec186dc363a75d43c50b7ffca7784323b Mon Sep 17 00:00:00 2001 From: seven Date: Sun, 10 Mar 2024 18:32:37 +0800 Subject: [PATCH] fix: type miss match issue #3 Signed-off-by: seven --- components.d.ts | 1 - src/views/ssh/components/ssh-dialog.vue | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components.d.ts b/components.d.ts index 9125675..5427506 100644 --- a/components.d.ts +++ b/components.d.ts @@ -30,7 +30,6 @@ declare module 'vue' { NPopover: typeof import('naive-ui')['NPopover'] NRadio: typeof import('naive-ui')['NRadio'] NRadioGroup: typeof import('naive-ui')['NRadioGroup'] - NScrollbar: typeof import('naive-ui')['NScrollbar'] NSelect: typeof import('naive-ui')['NSelect'] NTabPane: typeof import('naive-ui')['NTabPane'] NTabs: typeof import('naive-ui')['NTabs'] diff --git a/src/views/ssh/components/ssh-dialog.vue b/src/views/ssh/components/ssh-dialog.vue index e8ebefd..0540e7c 100644 --- a/src/views/ssh/components/ssh-dialog.vue +++ b/src/views/ssh/components/ssh-dialog.vue @@ -106,7 +106,7 @@ const defaultFormData = { host: '', port: 22, username: '', - secretId: -1, + secretId: '', }; const formData = ref({ ...defaultFormData });