Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
XieZhiXiong
jinfa-platform
Commits
5e3ae658
Commit
5e3ae658
authored
Dec 10, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复 intl未引入报错的问题
parent
bc03c580
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
NormalTable.tsx
src/components/PolymericTable/NormalTable.tsx
+3
-0
No files found.
src/components/PolymericTable/NormalTable.tsx
View file @
5e3ae658
...
...
@@ -6,6 +6,7 @@
* @Description: 可以带查询的表格,内置 formily,如果需要其他Form可以传入 customRenderSearchForm 配合 reload() 实现查询
*/
import
React
,
{
useState
,
useEffect
,
useRef
,
useImperativeHandle
}
from
'react'
;
import
{
useIntl
}
from
'umi'
;
import
{
Table
,
Pagination
}
from
'antd'
;
import
{
PaginationProps
}
from
'antd/lib/pagination'
;
import
classNames
from
'classnames'
;
...
...
@@ -37,6 +38,8 @@ const NormalTable: React.ForwardRefRenderFunction<NormalTableRefHandleType, Norm
...
restProps
}
=
props
;
const
intl
=
useIntl
();
const
initialCurrent
=
defaultCurrent
||
1
;
const
initialPageSize
=
defaultPageSize
||
PAGE_SIZE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment