|
@@ -2,7 +2,7 @@
|
|
|
/* eslint-disable no-param-reassign */
|
|
/* eslint-disable no-param-reassign */
|
|
|
import PermSelect from '@/pages/Customer/Company/components/PermSelect'
|
|
import PermSelect from '@/pages/Customer/Company/components/PermSelect'
|
|
|
import { TABLE_COLUMNS_MAP, ColumnStateEnum } from '@/utils/cache/cacheEnum'
|
|
import { TABLE_COLUMNS_MAP, ColumnStateEnum } from '@/utils/cache/cacheEnum'
|
|
|
-import { isDef, isNullOrUnDef } from '@/utils/is'
|
|
|
|
|
|
|
+import { isNullOrUnDef, isUnDef } from '@/utils/is'
|
|
|
import type { ColumnsState } from '@ant-design/pro-table'
|
|
import type { ColumnsState } from '@ant-design/pro-table'
|
|
|
import ProTable from '@ant-design/pro-table'
|
|
import ProTable from '@ant-design/pro-table'
|
|
|
import { useModel } from 'umi'
|
|
import { useModel } from 'umi'
|
|
@@ -96,7 +96,7 @@ const BasicTable: {
|
|
|
columnsRef,
|
|
columnsRef,
|
|
|
state.selectKeysRef,
|
|
state.selectKeysRef,
|
|
|
state.sizeRef,
|
|
state.sizeRef,
|
|
|
- isDef(resetProps.pagination)
|
|
|
|
|
|
|
+ isUnDef(resetProps.pagination)
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
useLayoutEffect(() => {
|
|
useLayoutEffect(() => {
|