浏览代码

feat: display selected state for buttons in patient management menu of navigation area when matching current business node

sw 1 月之前
父节点
当前提交
a474a9f930
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/layouts/BusinessZone.tsx

+ 1 - 0
src/layouts/BusinessZone.tsx

@@ -172,6 +172,7 @@ const BusinessZone: React.FC<BusinessZoneProps> = ({ onMenuClick }) => {
               onMenuClick?.(child.key);
             }}
             username={child.label}
+            className={child.key === currentKey ? 'border border-red-500' : ''}
           />
         ))}
     </Menu>