mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 04:18:29 +08:00
height 赋值报错
This commit is contained in:
parent
71de4463ea
commit
98bd1aaa5a
@ -46,7 +46,7 @@ export class Collapse extends React.Component<CollapseProps, any> {
|
||||
|
||||
@autobind
|
||||
handleEnter(elem: HTMLElement) {
|
||||
elem.style['height'] = null;
|
||||
elem.style['height'] = '';
|
||||
}
|
||||
|
||||
@autobind
|
||||
@ -56,7 +56,7 @@ export class Collapse extends React.Component<CollapseProps, any> {
|
||||
|
||||
@autobind
|
||||
handleEntered(elem: HTMLElement) {
|
||||
elem.style['height'] = null;
|
||||
elem.style['height'] = '';
|
||||
}
|
||||
|
||||
@autobind
|
||||
@ -74,7 +74,7 @@ export class Collapse extends React.Component<CollapseProps, any> {
|
||||
|
||||
@autobind
|
||||
handleExiting(elem: HTMLElement) {
|
||||
elem.style['height'] = null;
|
||||
elem.style['height'] = '';
|
||||
}
|
||||
|
||||
render() {
|
||||
|
Loading…
Reference in New Issue
Block a user