docs: 修复文档错误

This commit is contained in:
万纯 2021-03-22 10:39:18 +08:00
parent fd6429bbda
commit 877ddbad37
2 changed files with 2 additions and 4 deletions

View File

@ -93,7 +93,7 @@ rootContainer(LastRootContainer, args)
比如在可以包一层DIV 比如在可以包一层DIV
```js ```js
export function rootContainer(container) { export function rootContainer(container) {
return () => () => { return () => {
return ( return (
<div> <div>
<RouterView></RouterView> <RouterView></RouterView>
@ -101,7 +101,6 @@ export function rootContainer(container) {
) )
} }
} }
``` ```
### onAppCreated ### onAppCreated

View File

@ -93,7 +93,7 @@ rootContainer(LastRootContainer, args)
比如在可以包一层DIV 比如在可以包一层DIV
```js ```js
export function rootContainer(container) { export function rootContainer(container) {
return () => () => { return () => {
return ( return (
<div> <div>
<RouterView></RouterView> <RouterView></RouterView>
@ -101,7 +101,6 @@ export function rootContainer(container) {
) )
} }
} }
``` ```
### onAppCreated ### onAppCreated