mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
chore: panel 加上 id 属性到 dom
This commit is contained in:
parent
21317f8d92
commit
b527309af2
@ -255,7 +255,11 @@ export default class Panel extends React.Component<PanelProps> {
|
||||
) : null;
|
||||
|
||||
return (
|
||||
<div className={cx(`Panel`, className || `Panel--default`)} style={style}>
|
||||
<div
|
||||
id={id}
|
||||
className={cx(`Panel`, className || `Panel--default`)}
|
||||
style={style}
|
||||
>
|
||||
{header ? (
|
||||
<div
|
||||
className={cx(
|
||||
|
Loading…
Reference in New Issue
Block a user