Skip to content

Commit 67d10c0

Browse files
committed
fix lint
1 parent fdf24b1 commit 67d10c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/DrawerChild.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ class DrawerChild extends React.Component<IDrawerChildProps, IState> {
216216
if (!windowIsUndefined) {
217217
const right = document.body.scrollHeight >
218218
(window.innerHeight || document.documentElement.clientHeight) &&
219-
window.innerWidth > document.body.offsetWidth ? getScrollBarSize(true) : 0;// router 切换时可能会导至页面失去滚动条,所以需要时时获取。
219+
window.innerWidth > document.body.offsetWidth ? getScrollBarSize(true) : 0;
220+
// router 切换时可能会导至页面失去滚动条,所以需要时时获取。
220221
this.levelDom.forEach(dom => {
221222
dom.style.transition = `transform ${duration} ${ease}`;
222223
addEventListener(dom, transitionEnd, this.transitionEnd);

0 commit comments

Comments
 (0)