Skip to content

Commit

Permalink
feat: 更新格式
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed Dec 12, 2023
1 parent f5970b9 commit 2c8ec62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fighting-design/_hooks/use-transition/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const useTransition = (prop: IseTransitionProp): IseTransitionReturn => {
* @param { Object } node 元素节点
*/
const handleOpen = (node: Element): void => {
/** 开启状态隐藏滚动条 */
// 开启状态隐藏滚动条
document.body.style.overflow = 'hidden'
run(prop.onOpen, node)
}
Expand Down

0 comments on commit 2c8ec62

Please sign in to comment.