Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/pages/layout/proSecNav/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ const ProSecNav = ({ mode = 'inline', theme = 'light', onMenuClick }) => {

return (
<button
type="button"
type='button'
onMouseEnter={onPreload}
onFocus={onPreload}
onClick={onPreload}
Expand Down Expand Up @@ -323,7 +323,7 @@ const ProSecNav = ({ mode = 'inline', theme = 'light', onMenuClick }) => {
const base = {
...rest,
path,
label: Label,
label: Label
}
if (children && Array.isArray(children)) {
// 过滤掉空值的子项
Expand Down Expand Up @@ -411,7 +411,7 @@ const ProSecNav = ({ mode = 'inline', theme = 'light', onMenuClick }) => {
ProSecNav.propTypes = {
mode: PropTypes.string,
theme: PropTypes.string,
onMenuClick: PropTypes.func,
onMenuClick: PropTypes.func
}

export default ProSecNav
Loading