From b9ee9250ff0a404900815e312e755c0ba96895ff Mon Sep 17 00:00:00 2001 From: Kuitos Date: Fri, 19 Mar 2021 11:38:38 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20add=20umi=20plugin=20usage=20abo?= =?UTF-8?q?ut=20credential=20cookie=20setting=20(#1329)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/faq/README.zh.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/faq/README.zh.md b/docs/faq/README.zh.md index bd0832a..7df07df 100644 --- a/docs/faq/README.zh.md +++ b/docs/faq/README.zh.md @@ -750,6 +750,24 @@ export async function mount(props) { }); ``` +* 如果你是通过 [umi plugin](https://umijs.org/zh-CN/plugins/plugin-qiankun) 来使用 qiankun 的,那么你只需要给对应的微应用开启 credentials 配置即可: + + ```diff + export default { + qiankun: { + master: { + apps: [ + { + name: 'app', + entry: '//app.alipay.com/entry.html', + + credentials: true, + } + ] + } + } + } + ``` +