Skip to content

Commit

Permalink
Update umi-plugin-react.md (umijs#1067)
Browse files Browse the repository at this point in the history
这样识别度是不是更好一些...
  • Loading branch information
incomno authored and sorrycc committed Sep 13, 2018
1 parent 07be2bf commit dcb0219
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/zh/plugin/umi-plugin-react.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ export default {

配置项包含:

* `default`: 'zh-CN', // default zh-CN
* `baseNavigator`: true, // default true, when it is true, will use `navigator.language` overwrite default
* `antd`: true, // use antd, default is true
* `default: 'zh-CN'`, // default zh-CN
* `baseNavigator: true`, // default true, when it is true, will use `navigator.language` overwrite default
* `antd: true`, // use antd, default is true

### library

Expand Down Expand Up @@ -169,9 +169,9 @@ export default {

配置项包含:

* `defaultTitle`: '默认标题', // 必填,当配置项为 String 时直接配置项作为 defaultTitle
* `format`: '{parent}{separator}{current}', // default {parent}{separator}{current}, title format
* `separator`: ' - ', // default ' - '
* `defaultTitle: '默认标题'`, // 必填,当配置项为 String 时直接配置项作为 defaultTitle
* `format: '{parent}{separator}{current}'`, // default {parent}{separator}{current}, title format
* `separator: ' - '`, // default ' - '

当 title 插件开启后你可以在 routes 配置或者 pages 下的页面组件中配置 title。

Expand Down

0 comments on commit dcb0219

Please sign in to comment.