|
@@ -2,7 +2,14 @@ import componentSetting from '/@/settings/componentSetting';
|
|
|
|
|
|
const { table } = componentSetting;
|
|
|
|
|
|
-const { pageSizeOptions, defaultPageSize, fetchSetting, defaultSortFn, defaultFilterFn } = table;
|
|
|
+const {
|
|
|
+ pageSizeOptions,
|
|
|
+ defaultPageSize,
|
|
|
+ fetchSetting,
|
|
|
+ defaultSize,
|
|
|
+ defaultSortFn,
|
|
|
+ defaultFilterFn,
|
|
|
+} = table;
|
|
|
|
|
|
export const ROW_KEY = 'key';
|
|
|
|
|
@@ -15,6 +22,9 @@ export const PAGE_SIZE = defaultPageSize;
|
|
|
// Common interface field settings
|
|
|
export const FETCH_SETTING = fetchSetting;
|
|
|
|
|
|
+// Default Size
|
|
|
+export const DEFAULT_SIZE = defaultSize;
|
|
|
+
|
|
|
// Configure general sort function
|
|
|
export const DEFAULT_SORT_FN = defaultSortFn;
|
|
|
|