fix: sub app running mode when standlone deploy

This commit is contained in:
Chareice 2023-05-17 16:07:16 +08:00
parent 63f7112e0a
commit 390c12ab2d

View File

@ -163,7 +163,7 @@ export class PluginMultiAppManager extends Plugin {
const instanceOptions = applicationRecord.get('options');
// skip standalone deployment application
if (instanceOptions?.standaloneDeployment) {
if (instanceOptions?.standaloneDeployment && appManager.runningMode !== 'single') {
return;
}
@ -202,7 +202,7 @@ export class PluginMultiAppManager extends Plugin {
const instanceOptions = instance.get('options');
// skip standalone deployment application
if (instanceOptions?.standaloneDeployment) {
if (instanceOptions?.standaloneDeployment && appManager.runningMode !== 'single') {
continue;
}