Browse Source

chore: fix type error

main
刘凯 1 year ago
parent
commit
19fca8d536
  1. 4
      src/components/Table/src/BasicTable.vue
  2. 2
      tsconfig.json

4
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<BasicTableProps>) {
}
const tableAction: TableActionType = {
reload,
reload: async params => void reload(params),
getSelectRows,
setSelectedRows,
clearSelectedRowKeys,

2
tsconfig.json

@ -37,5 +37,5 @@
"build/**/*.d.ts",
"vite.config.ts"
],
"exclude": ["node_modules", "dist", "./src/components/FormDesign/*"]
"exclude": ["node_modules", "dist"]
}