From 1e48e7d5d9658683fea366df7f0aef8a63acfa56 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Tue, 9 Aug 2022 22:40:17 +0800 Subject: [PATCH] chore(gui-v2): lint --- packages/nc-gui-v2/components.d.ts | 1 + .../components/smartsheet-column/EditOrAdd.vue | 2 +- packages/nc-gui-v2/components/smartsheet/Form.vue | 12 ++++++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/nc-gui-v2/components.d.ts b/packages/nc-gui-v2/components.d.ts index 208e7f88ab..102e3199c9 100644 --- a/packages/nc-gui-v2/components.d.ts +++ b/packages/nc-gui-v2/components.d.ts @@ -47,6 +47,7 @@ declare module '@vue/runtime-core' { ARow: typeof import('ant-design-vue/es')['Row'] ASelect: typeof import('ant-design-vue/es')['Select'] ASelectOption: typeof import('ant-design-vue/es')['SelectOption'] + ASkeleton: typeof import('ant-design-vue/es')['Skeleton'] ASkeletonImage: typeof import('ant-design-vue/es')['SkeletonImage'] ASpin: typeof import('ant-design-vue/es')['Spin'] ASubMenu: typeof import('ant-design-vue/es')['SubMenu'] diff --git a/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue b/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue index 07ba7b0491..e0da14315e 100644 --- a/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue +++ b/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue @@ -212,4 +212,4 @@ watch( :deep(.ant-form-item-explain) { @apply !min-h-[15px]; } - \ No newline at end of file + diff --git a/packages/nc-gui-v2/components/smartsheet/Form.vue b/packages/nc-gui-v2/components/smartsheet/Form.vue index 25a4dcea94..57253fcf85 100644 --- a/packages/nc-gui-v2/components/smartsheet/Form.vue +++ b/packages/nc-gui-v2/components/smartsheet/Form.vue @@ -373,7 +373,7 @@ onMounted(async () => { - + - + @@ -447,7 +449,7 @@ onMounted(async () => { @click="updateView" /> - { v-if="isVirtualCol(element)" :column="{ ...element, title: element.label || element.title }" :required="isRequired(element, element.required)" + :hide-menu="true" />
@@ -530,7 +534,7 @@ onMounted(async () => { Drag and drop fields here to add
-
+