wujie
wujie copied to clipboard
设置exec: true,预加载,导致子应用样式错误、css变量消失
描述bug 子应用设置保活模式alive: true后,如果设置代码预执行exec: true,加上预加载,则导致子应用样式错误、css变量消失
如何复现 1、子应用配置
const apps: Recordable<any> = [
{
name: 'subapp1',
url: 'http://xxx',
sync: true,
exec: true,
alive: true,
preload: true,
},
];
2、 加载完用户信息后预加载
apps
.filter((app: any) => app.preload)
.forEach((app: any) => WujieVue.preloadApp(app));
错误截图
message没有了背景色
最小复现仓库或者地址 重要!!!,请尽量给出复现仓库,这样能极大加快bug解决速度
目前打包没问题,开发时一样,button没border、table head背景图变了、radio的样式错误
请问解决了嘛?
放弃了