Skip to content

Commit

Permalink
fix(layout): 默认开启 hash
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Oct 19, 2022
1 parent a75b8d4 commit 47f30c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/layout/src/components/SiderMenu/SiderMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ const SiderMenu: React.FC<SiderMenuProps & PrivateSiderMenuProps> = (props) => {
<ConfigProvider
// @ts-ignore
theme={{
hashed: false,
hashed: process.env.NODE_ENV?.toLowerCase() !== 'test',
components: {
Menu: {
radiusItem: 4,
Expand Down

0 comments on commit 47f30c9

Please sign in to comment.