You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
If you enable menu localization and you leave one menu item as locale independent then when you try to run the app it throws and error that breaks the layout and prevents from displaying it.
📷 复现步骤 [清晰描述复现步骤,让别人也能看到问题]
Set in defaultSettings.ts -> menu: { locale: true },
Set any menu entry in config.ts -> routes: [ {
name: 'welcome', locale: false,
icon: 'home',
path: '/Welcome',
component: './Welcome',
},
]
🐛 bug 描述 [详细地描述 bug,让大家都能理解]
If you enable menu localization and you leave one menu item as locale independent then when you try to run the app it throws and error that breaks the layout and prevents from displaying it.
📷 复现步骤 [清晰描述复现步骤,让别人也能看到问题]
name: 'welcome',
locale: false,
icon: 'home',
path: '/Welcome',
component: './Welcome',
},
]
🏞 期望结果 [描述你原本期望看到的结果]
The menu should always display the configured entry with the default message e.g. route.name
💻 复现代码 [提供可复现的代码,仓库,或线上示例]
© 版本信息
🚑 其他信息 [如截图等其他信息可以贴在这里]
The text was updated successfully, but these errors were encountered: