📝 fix doc demo mistake (#1345)

This commit is contained in:
Kuitos 2021-03-27 09:21:53 +08:00 committed by GitHub
parent f7455975f6
commit 2af6284e45
2 changed files with 2 additions and 2 deletions

View File

@ -315,7 +315,7 @@ A criterion for judging whether the business is closely related: <strong>Look at
componentDidMount() { componentDidMount() {
this.microApp = loadMicroApp( 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' } },
); );
} }

View File

@ -323,7 +323,7 @@ toc: menu
componentDidMount() { componentDidMount() {
this.microApp = loadMicroApp( 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' } },
); );
} }