We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚠️ 重要 ⚠️ 在进一步操作之前,请检查下列选项。如果您忽视此模板或者没有提供关键信息,您的 Issue 将直接被关闭
ROLE 模式下 menus/index.ts `(() => { const menuModules: MenuModule[] = [];
menuModules.sort((a, b) => { return (a.orderNo || 0) - (b.orderNo || 0); });
for (const menu of menuModules) { staticMenus.push(transformMenuModule(menu)); } })();`
for of 导致menu的类型变为了menuModule类型 但是值是menu类型的 所以transformMenuModule方法解构不到值 导致菜单白屏
请描述在演示页面中复现 Bug 的详细步骤,以确保我们可以理解并定位问题。部分 Bug 如果未在 Demo 中涉及,请务必提供关键代码
The text was updated successfully, but these errors were encountered:
fix(router): resolve menu loading failure when permission is in "role…
0a59495
… mode" closed vbenjs#3655
c7631fe
… mode" (#3660) closed #3655
cfbe156
… mode" (vbenjs#3660) closed vbenjs#3655 (cherry picked from commit c7631fe)
Successfully merging a pull request may close this issue.
描述 Bug
ROLE 模式下 menus/index.ts
`(() => {
const menuModules: MenuModule[] = [];
menuModules.sort((a, b) => {
return (a.orderNo || 0) - (b.orderNo || 0);
});
for (const menu of menuModules) {
staticMenus.push(transformMenuModule(menu));
}
})();`
for of 导致menu的类型变为了menuModule类型 但是值是menu类型的 所以transformMenuModule方法解构不到值 导致菜单白屏
复现 Bug
请描述在演示页面中复现 Bug 的详细步骤,以确保我们可以理解并定位问题。部分 Bug 如果未在 Demo 中涉及,请务必提供关键代码
系统信息
The text was updated successfully, but these errors were encountered: