From 8bf7c4faaf5021c7e3f417f7220a059babbc3207 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Wed, 2 Aug 2023 20:51:06 +0800 Subject: [PATCH] fix(nc-gui): lint errors --- packages/nc-gui/components/smartsheet/Pagination.vue | 6 ++++-- packages/nc-gui/components/smartsheet/header/Icon.vue | 4 ++-- packages/nc-gui/components/tabs/Smartsheet.vue | 2 +- .../nc-gui/components/virtual-cell/components/ItemChip.vue | 1 - .../components/virtual-cell/components/ListChildItems.vue | 1 - .../nc-gui/components/virtual-cell/components/ListItems.vue | 1 - packages/nc-gui/composables/useMultiSelect/index.ts | 4 ---- 7 files changed, 7 insertions(+), 12 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Pagination.vue b/packages/nc-gui/components/smartsheet/Pagination.vue index 7cc08d7d3e..4bd45cd171 100644 --- a/packages/nc-gui/components/smartsheet/Pagination.vue +++ b/packages/nc-gui/components/smartsheet/Pagination.vue @@ -2,9 +2,11 @@ import { ChangePageInj, PaginationDataInj, computed, iconMap, inject, isRtlLang, useI18n } from '#imports' import type { Language } from '~/lib' -const props = defineProps<{ +interface Props { alignCountOnRight?: boolean -}>() +} + +const { alignCountOnRight } = defineProps() const { locale } = useI18n() diff --git a/packages/nc-gui/components/smartsheet/header/Icon.vue b/packages/nc-gui/components/smartsheet/header/Icon.vue index ff56b943ea..159ef471b0 100644 --- a/packages/nc-gui/components/smartsheet/header/Icon.vue +++ b/packages/nc-gui/components/smartsheet/header/Icon.vue @@ -1,8 +1,8 @@