Commit 2ac5ce37 authored by zhangwenshuai's avatar zhangwenshuai

apolloTable增加id属性

parent 49d5daeb
......@@ -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)
......
......@@ -91,6 +91,7 @@ export interface CommonProps extends TableProps {
locale?: any;
className?: string;
showCondition?: boolean;
id?:string;
}
export interface CommonState extends TableState {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment