mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 22:20:30 +08:00
优化插件初始化
This commit is contained in:
parent
93c1d4efbc
commit
d926285766
@ -51,7 +51,6 @@ export class PluginService extends BaseService {
|
|||||||
* @param type
|
* @param type
|
||||||
*/
|
*/
|
||||||
async modifyAfter() {
|
async modifyAfter() {
|
||||||
await this.reInit();
|
|
||||||
// 多进程发送全局事件,pm2下生效
|
// 多进程发送全局事件,pm2下生效
|
||||||
this.coolEventManager.globalEmit(GLOBAL_EVENT_PLUGIN_INIT, false);
|
this.coolEventManager.globalEmit(GLOBAL_EVENT_PLUGIN_INIT, false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user