Skip to content
New issue

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

🐛[BUG]使用动态菜单menu项配置后,icon无法显示图标,显示成文字了。。 #9013

Open
birdycn opened this issue Feb 13, 2025 · 0 comments

Comments

@birdycn
Copy link

birdycn commented Feb 13, 2025

🐛[BUG]使用动态菜单menu项配置后,icon无法显示图标,显示成文字了。。

想用patchRoutes 更新一下,结果也报错。

import { patchRoutes } from '@/.umi/plugin-layout/runtime';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @/.umi/plugin-layout/runtime includes /.umi/, /.umi-test/ or /.umi-production/. It's not allowed to import. Please import from @umijs/max or the corresponding plugin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant