@gx-design-vue/pro-table 0.2.0-beta.134 → 0.2.0-beta.135

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,12 +13,12 @@ interface ActionType {
13
13
  syncSelectedRows: (dataList: any[]) => void;
14
14
  columns: ComputedRef<ProColumnsType>;
15
15
  defaultState: Ref<RecordType>;
16
+ params: Ref<ProTableProps['params']>;
16
17
  onRequestError: ProTableProps['onRequestError'];
17
18
  onBeforeSearchSubmit: ProTableProps['onBeforeSearchSubmit'];
18
19
  hasCustomRender: ComputedRef<boolean>;
19
20
  }
20
21
  export interface ConfigFetchData {
21
- params: ComputedRef<ProTableProps['params']>;
22
22
  rowKey: ComputedRef<ProTableProps['rowKey']>;
23
23
  polling: ComputedRef<ProTableProps['polling']>;
24
24
  request: ProTableProps['request'];
@@ -29,7 +29,7 @@ export interface ConfigFetchData {
29
29
  autoRequest: ComputedRef<ProTableProps['autoRequest']>;
30
30
  }
31
31
  export declare function useConfigFetchData(props: ProTableProps): Omit<ConfigFetchData, 'waitRequest'>;
32
- export declare function useFetchData({ params, rowKey, autoRequest, polling, request, postData, dataSource, waitRequest, debounceTime }: ConfigFetchData, { columns, setLoading, setColumns, removeRowKeys, syncSelectedRows, defaultState, setPagination, paginationInfo, onRequestError, onBeforeSearchSubmit, hasCustomRender }: ActionType, emit: any): {
32
+ export declare function useFetchData({ rowKey, autoRequest, polling, request, postData, dataSource, waitRequest, debounceTime }: ConfigFetchData, { params, columns, setLoading, setColumns, removeRowKeys, syncSelectedRows, defaultState, setPagination, paginationInfo, onRequestError, onBeforeSearchSubmit, hasCustomRender }: ActionType, emit: any): {
33
33
  dataSource: ComputedRef<RecordType[]>;
34
34
  isTreeDataRef: ComputedRef<boolean>;
35
35
  reSetDataList: (list: RecordType[]) => void;