no message

This commit is contained in:
kuaifan 2025-05-28 20:36:13 +08:00
parent 0027e838a0
commit 46c8caa627
2 changed files with 9 additions and 4 deletions

View File

@ -454,10 +454,15 @@ export default {
/** /**
* 关闭所有微应用 * 关闭所有微应用
* @param destroy
*/ */
closeAllMicroApp() { closeAllMicroApp(destroy = true) {
this.apps = []; this.apps.forEach(app => {
microApp.unmountAllApps({destroy: true}) app.isOpen = false
if (destroy) {
microApp.unmountApp(app.name, {destroy: true})
}
});
}, },
/** /**

@ -1 +1 @@
Subproject commit 6c038654ea0d0bb64b7449ae35af8cc392c43702 Subproject commit 84be62f3a95166a27ada9a6ca88d835bb52359d3