diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index cf4dcaf6e8..f92b93351c 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -329,7 +329,6 @@ const rowRefs = $ref() /** save/update records before unmounting the component */ onBeforeUnmount(async () => { - console.log(rowRefs) let index = -1 for (const currentRow of data.value) { index++ @@ -518,10 +517,6 @@ onBeforeUnmount(async () => { - () const fields = ref([]) -// const tabMeta = inject( -// TabMetaInj, -// computed(() => ({} as TabItem)), -// ) provide(TabMetaInj, ref(activeTab)) const meta = computed(() => metas.value?.[activeTab?.id as string]) diff --git a/packages/nc-gui/components/virtual-cell/BelongsTo.vue b/packages/nc-gui/components/virtual-cell/BelongsTo.vue index 3cfc1a11c2..58fc4d9f71 100644 --- a/packages/nc-gui/components/virtual-cell/BelongsTo.vue +++ b/packages/nc-gui/components/virtual-cell/BelongsTo.vue @@ -24,7 +24,7 @@ const ListItems = defineAsyncComponent(() => import('./components/ListItems.vue' const column = inject(ColumnInj)! -const reloadRowTrigger = inject(ReloadRowDataHookInj, createEventHook())! +const reloadRowTrigger = inject(ReloadRowDataHookInj, createEventHook()) const cellValue = inject(CellValueInj, ref(null)) diff --git a/packages/nc-gui/components/virtual-cell/components/ListItems.vue b/packages/nc-gui/components/virtual-cell/components/ListItems.vue index 9d924e1306..42fcfd72c7 100644 --- a/packages/nc-gui/components/virtual-cell/components/ListItems.vue +++ b/packages/nc-gui/components/virtual-cell/components/ListItems.vue @@ -116,8 +116,8 @@ watch(expandedFormDlg, (nexVal) => {
- {{ $t('activity.addNewRecord') }} + + {{ $t('activity.addNewRecord') }}