8000 bug: useRouteMeta 意外返回了 Proxy 对象?且在首页这种没有 texts 的场景下取值 texts 会报 `Uncaught Promise {<fulfilled>: {…}}` · Issue #2124 · umijs/dumi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

bug: useRouteMeta 意外返回了 Proxy 对象?且在首页这种没有 texts 的场景下取值 texts 会报 Uncaught Promise {<fulfilled>: {…}} #2124

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

Closed
xiaochena opened this issue May 22, 2024 · 0 comments · Fixed by #2165

Comments

@xiaochena
Copy link

Version

2.3.4

OS Version

window 11

Node.js Version

18.0.0

Browser Version

Chrome 124.0.6367.208

Link to minimal reproduction

https://github.com/arvinxx/dumi-theme-antd-style

Steps to reproduce

直接运行、切换菜单时的白屏就是因为 useRouteMeta 意外返回了一个 Proxy 对象、且在取值时报错

What is expected?

返回 Proxy 对象 是否是正常的行为?取值时不报错

What is actually happening?

useRouteMeta 意外返回了一个 Proxy 对象 且在取值时报错

Any additional comments? (optional)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4476
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0