ant-design / ant-design-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
https://pro.ant.design
MIT License
36.34k stars 8.14k forks source link

aaa #11293

Closed Crescently closed 1 month ago

Crescently commented 1 month ago

🐛 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 . Did you forget to wrap your children in braces? ( <title>{``} ) Refer to our API for more information.

github-actions[bot] commented 1 month ago

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

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