mirror of
https://github.com/cool-team-official/cool-admin-midway-packages.git
synced 2026-03-11 18:35:59 +00:00
新增插件就绪函数
This commit is contained in:
parent
e686095ea2
commit
689d7b3f1e
@ -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": {
|
||||
|
||||
@ -101,7 +101,13 @@ export abstract class BasePlugin {
|
||||
this.cache = other.cache;
|
||||
this.pluginService = other.pluginService;
|
||||
}
|
||||
await this.ready();
|
||||
}
|
||||
|
||||
/**
|
||||
* 插件就绪
|
||||
*/
|
||||
async ready() {}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user