diff --git a/src/components/Table/src/BasicTable.vue b/src/components/Table/src/BasicTable.vue index a799384..6b9f248 100644 --- a/src/components/Table/src/BasicTable.vue +++ b/src/components/Table/src/BasicTable.vue @@ -187,7 +187,7 @@ const { getFooterProps } = useTableFooter( ) const { getFormProps, replaceFormSlotKey, getFormSlotKeys, handleSearchInfoChange, getShowForm, setShowForm } - = useTableForm(getProps, slots, fetch, getLoading) + = useTableForm(getProps, slots, async params => void fetch(params), getLoading) const getBindValues = computed(() => { const dataSource = unref(getDataSourceRef) @@ -240,7 +240,7 @@ function setProps(props: Partial) { } const tableAction: TableActionType = { - reload, + reload: async params => void reload(params), getSelectRows, setSelectedRows, clearSelectedRowKeys, diff --git a/tsconfig.json b/tsconfig.json index dab5aac..3e592f9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -37,5 +37,5 @@ "build/**/*.d.ts", "vite.config.ts" ], - "exclude": ["node_modules", "dist", "./src/components/FormDesign/*"] + "exclude": ["node_modules", "dist"] }