diff --git a/docs/guide/runtime-config.md b/docs/guide/runtime-config.md index e3fb876a..65fecf31 100644 --- a/docs/guide/runtime-config.md +++ b/docs/guide/runtime-config.md @@ -93,7 +93,7 @@ rootContainer(LastRootContainer, args) 比如在可以包一层DIV: ```js export function rootContainer(container) { - return () => () => { + return () => { return (
@@ -101,7 +101,6 @@ export function rootContainer(container) { ) } } - ``` ### onAppCreated diff --git a/docs/zh/guide/runtime-config.md b/docs/zh/guide/runtime-config.md index ff96aa18..93fd54dc 100644 --- a/docs/zh/guide/runtime-config.md +++ b/docs/zh/guide/runtime-config.md @@ -93,7 +93,7 @@ rootContainer(LastRootContainer, args) 比如在可以包一层DIV: ```js export function rootContainer(container) { - return () => () => { + return () => { return (
@@ -101,7 +101,6 @@ export function rootContainer(container) { ) } } - ``` ### onAppCreated