diff --git a/docs/api/README.md b/docs/api/README.md index e471f43..127a5b1 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -315,7 +315,7 @@ A criterion for judging whether the business is closely related: Look at componentDidMount() { this.microApp = loadMicroApp( - { name: 'app1', entry: '//localhost:1234', container: this.containerRef.current, props: { name: 'qiankun' } }, + { name: 'app1', entry: '//localhost:1234', container: this.containerRef.current, props: { brand: 'qiankun' } }, ); } diff --git a/docs/api/README.zh.md b/docs/api/README.zh.md index a4755df..0261790 100644 --- a/docs/api/README.zh.md +++ b/docs/api/README.zh.md @@ -323,7 +323,7 @@ toc: menu componentDidMount() { this.microApp = loadMicroApp( - { name: 'app1', entry: '//localhost:1234', container: this.containerRef.current, props: { name: 'qiankun' } }, + { name: 'app1', entry: '//localhost:1234', container: this.containerRef.current, props: { brand: 'qiankun' } }, ); }