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

aaa #11293

Closed
Crescently opened this issue Jul 22, 2024 · 1 comment
Closed

aaa #11293

Crescently opened this issue Jul 22, 2024 · 1 comment

Comments

@Crescently
Copy link

🐛 bug 描述

在ant design pro 的config/defaultSettings.ts中修改title值为false后,界面无法正常渲染。
而config/config.ts 中的title属性没有正常读取

📷 复现步骤 | Recurrence steps

import {ProLayoutProps} from '@ant-design/pro-components';

/**

export default Settings;

🏞 期望结果 | Expected results

通过修改,改变页面标题

报错提示内容

Uncaught Invariant Violation: Helmet expects a string as a child of <title>. Did you forget to wrap your children in braces? ( <title>{``}</title> ) Refer to our API for more information.

Copy link

当前 Issue 未检测到标题,请规范填写,谢谢!

The title of the current issue is not detected, please fill in according to the specifications, thank you!

@Crescently Crescently changed the title 🐛 [BUG] 🐛 [BUG] 在ant design pro 的config/defaultSettings.ts中修改title值为false后,界面无法正常渲染。 Jul 22, 2024
@Crescently Crescently changed the title 🐛 [BUG] 在ant design pro 的config/defaultSettings.ts中修改title值为false后,界面无法正常渲染。 aaa Jul 22, 2024
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