浏览代码

取消注释

Yansen 1年前
父节点
当前提交
4f28acb5e0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/components/NavMenu/SubMenu.jsx

+ 1
- 1
src/components/NavMenu/SubMenu.jsx 查看文件

@@ -10,7 +10,7 @@ export default function SubMenu(props) {
10 10
 
11 11
   const onMouseLeaveCapture = e => {
12 12
     if (e.target === ref.current) {
13
-      // onShowChange(false);
13
+      onShowChange(false);
14 14
     }
15 15
   }
16 16