wujie icon indicating copy to clipboard operation
wujie copied to clipboard

设置exec: true,预加载,导致子应用样式错误、css变量消失

Open chewenye opened this issue 8 months ago • 2 comments

描述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没有了背景色 Image

最小复现仓库或者地址 重要!!!,请尽量给出复现仓库,这样能极大加快bug解决速度

chewenye avatar Apr 25 '25 03:04 chewenye

目前打包没问题,开发时一样,button没border、table head背景图变了、radio的样式错误

chewenye avatar Apr 28 '25 01:04 chewenye

请问解决了嘛?

wujianxin666 avatar Oct 31 '25 04:10 wujianxin666

放弃了

chewenye avatar Dec 26 '25 03:12 chewenye