Skip to content

Commit

Permalink
fix(plugins): improve plugin-qiankun examples (#5302)
Browse files Browse the repository at this point in the history
  • Loading branch information
mortalYoung committed Sep 7, 2020
1 parent 745097c commit f3b3d63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/plugins/plugin-qiankun.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default {

```js
// 从接口中获取子应用配置,export 出的 qiankun 变量是一个 promise
export const qiankun = fetch('/config').then(({ apps }}) => ({
export const qiankun = fetch('/config').then(({ apps }) => ({
// 注册子应用信息
apps,
// 完整生命周期钩子请看 https://qiankun.umijs.org/zh/api/#registermicroapps-apps-lifecycles
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/plugin-qiankun.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default {

```js
// 从接口中获取子应用配置,export 出的 qiankun 变量是一个 promise
export const qiankun = fetch('/config').then(({ apps }}) => ({
export const qiankun = fetch('/config').then(({ apps }) => ({
// 注册子应用信息
apps,
// 完整生命周期钩子请看 https://qiankun.umijs.org/zh/api/#registermicroapps-apps-lifecycles
Expand Down

0 comments on commit f3b3d63

Please sign in to comment.