Commit b9bd1234 by 冒粤蓉

fix

1 parent 3d05de31
......@@ -21,21 +21,15 @@ const qianKunStart = (config, baseURL) => {
});
// props和container之后也要做动态配置
apps[0].props = {
data: {
store,
router,
baseURL
}
};
apps[1].props = {
data: {
store,
router,
baseURL
}
};
apps.map(i => {
i.props = {
data: {
store,
router,
baseURL
}
}
});
registerMicroApps(apps, {
// qiankun 生命周期钩子 - 加载前
......@@ -67,7 +61,7 @@ const qianKunStart = (config, baseURL) => {
setDefaultMountApp(defaultApp);
start({ singular: false });
start({ singular: false, sandbox: { strictStyleIsolation: true } });
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!