fix(core.gbapp): Dynamic services from .gbapps.
This commit is contained in:
parent
48ae0a2b4f
commit
c01430f0f3
1 changed files with 2 additions and 3 deletions
|
@ -491,7 +491,7 @@ export class GBMinService {
|
||||||
await CollectionUtil.asyncForEach(min.appPackages, async (e: IGBPackage) => {
|
await CollectionUtil.asyncForEach(min.appPackages, async (e: IGBPackage) => {
|
||||||
let services: ConcatArray<never>;
|
let services: ConcatArray<never>;
|
||||||
if ((services = await e.onExchangeData(min, 'getServices', null))) {
|
if ((services = await e.onExchangeData(min, 'getServices', null))) {
|
||||||
min.gbappServices.concat(services);
|
min.gbappServices = Object.assign(min.gbappServices, services);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -806,5 +806,4 @@ export class GBMinService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue