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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
System:
OS: macOS 15.5
CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
Memory: 64.15 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Browsers:
Safari: 26.1
npmPackages:
@modern-js/app-tools: 3.1.4 => 3.1.4
@modern-js/runtime: 3.1.4 => 3.1.4
@modern-js/tsconfig: 3.1.4 => 3.1.4
在layout.tsx中:
const reactContext = use(RuntimeContext); console.log('routes', reactContext.routes);现在获取的 routes = [],导致通过路由配置创建动态菜单的方法失效了。
All reactions