Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
submodule
Project
Project
Details
Activity
Releases
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
web_component
submodule
Commits
2ac5ce37
Commit
2ac5ce37
authored
Jul 06, 2020
by
zhangwenshuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apolloTable增加id属性
parent
49d5daeb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
index.tsx
components/apolloTable/component/index.tsx
+2
-0
interface.tsx
components/apolloTable/component/interface.tsx
+1
-0
No files found.
components/apolloTable/component/index.tsx
View file @
2ac5ce37
...
...
@@ -83,6 +83,7 @@ class AirTable extends React.Component<CommonProps, CommonState> {
loadComp
,
showCondition
,
canFixed
,
id
,
}
=
this
.
props
;
const
sortConfig
=
operateConfig
&&
...
...
@@ -93,6 +94,7 @@ class AirTable extends React.Component<CommonProps, CommonState> {
return
(
<
Provider
value=
{
{
locale
:
this
.
getContext
()
}
}
>
<
div
id=
{
id
}
className=
{
onScroll
?
classNames
(
styles
.
container
,
styles
.
scroll
,
className
)
...
...
components/apolloTable/component/interface.tsx
View file @
2ac5ce37
...
...
@@ -91,6 +91,7 @@ export interface CommonProps extends TableProps {
locale
?:
any
;
className
?:
string
;
showCondition
?:
boolean
;
id
?:
string
;
}
export
interface
CommonState
extends
TableState
{}
...
...
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