no message
This commit is contained in:
@@ -454,10 +454,15 @@ export default {
|
||||
|
||||
/**
|
||||
* 关闭所有微应用
|
||||
* @param destroy
|
||||
*/
|
||||
closeAllMicroApp() {
|
||||
this.apps = [];
|
||||
microApp.unmountAllApps({destroy: true})
|
||||
closeAllMicroApp(destroy = true) {
|
||||
this.apps.forEach(app => {
|
||||
app.isOpen = false
|
||||
if (destroy) {
|
||||
microApp.unmountApp(app.name, {destroy: true})
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Submodule resources/mobile updated: 6c038654ea...84be62f3a9
Reference in New Issue
Block a user