mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[improvement] update eslint config (#2288)
This commit is contained in:
@@ -116,7 +116,7 @@ export default create({
|
||||
return;
|
||||
}
|
||||
|
||||
const contentHeight = content.clientHeight + 'px';
|
||||
const contentHeight = `${content.clientHeight}px`;
|
||||
wrapper.style.height = expanded ? 0 : contentHeight;
|
||||
raf(() => {
|
||||
wrapper.style.height = expanded ? contentHeight : 0;
|
||||
|
Reference in New Issue
Block a user