From 439e3b0f076280311b7cd4251a95820730242780 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期三, 07 八月 2024 10:43:33 +0800 Subject: [PATCH] 一些更新 --- src/components/Table/src/hooks/useTableForm.ts | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Table/src/hooks/useTableForm.ts b/src/components/Table/src/hooks/useTableForm.ts index 9d5712d..5974e1c 100644 --- a/src/components/Table/src/hooks/useTableForm.ts +++ b/src/components/Table/src/hooks/useTableForm.ts @@ -1,13 +1,13 @@ import type { ComputedRef, Slots } from 'vue'; import type { BasicTableProps, FetchParams } from '../types/table'; import { unref, computed } from 'vue'; -import type { FormProps } from '/@/components/Form'; -import { isFunction } from '/@/utils/is'; +import type { FormProps } from '@/components/Form'; +import { isFunction } from '@/utils/is'; export function useTableForm( propsRef: ComputedRef<BasicTableProps>, slots: Slots, - fetch: (opt?: FetchParams | undefined) => Promise<void>, + fetch: (opt?: FetchParams | undefined) => Promise<Recordable<any>[] | undefined>, getLoading: ComputedRef<boolean | undefined>, ) { const getFormProps = computed((): Partial<FormProps> => { -- Gitblit v1.9.3