mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
no message
This commit is contained in:
parent
0027e838a0
commit
46c8caa627
@ -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
|
||||||
Loading…
x
Reference in New Issue
Block a user