We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea086ee commit ec0f461Copy full SHA for ec0f461
1 file changed
packages/plugin-layout/src/layout/index.tsx
@@ -112,7 +112,11 @@ const BasicLayout = (props: any) => {
112
return defaultDom;
113
}
114
if (menuItemProps.path && location.pathname !== menuItemProps.path) {
115
- return <Link to={menuItemProps.path}>{defaultDom}</Link>;
+ return (
116
+ <Link to={menuItemProps.path} target={menuItemProps.target}>
117
+ {defaultDom}
118
+ </Link>
119
+ );
120
121
122
}}
0 commit comments