新增插件就绪函数

This commit is contained in:
cool 2024-03-26 15:15:08 +08:00
parent e686095ea2
commit 689d7b3f1e
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@cool-midway/plugin-cli",
"version": "7.1.7",
"version": "7.1.8",
"description": "cool-admin midway plugin",
"main": "dist/index.js",
"scripts": {

View File

@ -101,7 +101,13 @@ export abstract class BasePlugin {
this.cache = other.cache;
this.pluginService = other.pluginService;
}
await this.ready();
}
/**
*
*/
async ready() {}
}
/**