From 2af6284e45b4d8d8de7b55cc92f05056312e750e Mon Sep 17 00:00:00 2001 From: Kuitos Date: Sat, 27 Mar 2021 09:21:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20fix=20doc=20demo=20mistake=20(#1?= =?UTF-8?q?345)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/README.md | 2 +- docs/api/README.zh.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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' } }, ); }