File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Pro 默认提供标题 Logo 和 loading 页面的配置,默认情况下你不
1313
1414## 标题和 Logo
1515
16- 在实际使用中我们一般会通过 ` config\ defaultSettings.ts ` 来控制标题和 Logo,这部分功能来自 [ ProLayout] ( https://procomponents.ant.design/components/layout ) 的功能。我们可以在[ 预览界面] ( https://preview.pro.ant.design/ ) 中拷贝设置覆盖到 ` config\ defaultSettings.ts ` 中来修改配置。
16+ 在实际使用中我们一般会通过 ` config/ defaultSettings.ts ` 来控制标题和 Logo,这部分功能来自 [ ProLayout] ( https://procomponents.ant.design/components/layout ) 的功能。我们可以在[ 预览界面] ( https://preview.pro.ant.design/ ) 中拷贝设置覆盖到 ` config/ defaultSettings.ts ` 中来修改配置。
1717
1818``` tsx | pure
1919const settings: LayoutSettings & {
@@ -37,7 +37,7 @@ export default settings;
3737
3838> defaultSettings 不在 config 中,是不能 import js 和 json 以外的任何文件的,如果需要使用项目中的 logo,可以用动态修改的方式。
3939
40- 如果你需要动态的修改标题或者 Logo,就需要使用运行时的能力了。我们可以在 ` src\ app.tsx ` 中做如下配置:
40+ 如果你需要动态的修改标题或者 Logo,就需要使用运行时的能力了。我们可以在 ` src/ app.tsx ` 中做如下配置:
4141
4242``` tsx | pure
4343// https://umijs.org/zh-CN/plugins/plugin-layout
You can’t perform that action at this time.
0 commit comments