mirror of
https://github.com/cool-team-official/cool-admin-midway-packages.git
synced 2026-03-17 11:13:37 +00:00
新增插件就绪函数
This commit is contained in:
parent
e686095ea2
commit
689d7b3f1e
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@cool-midway/plugin-cli",
|
"name": "@cool-midway/plugin-cli",
|
||||||
"version": "7.1.7",
|
"version": "7.1.8",
|
||||||
"description": "cool-admin midway plugin",
|
"description": "cool-admin midway plugin",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -101,7 +101,13 @@ export abstract class BasePlugin {
|
|||||||
this.cache = other.cache;
|
this.cache = other.cache;
|
||||||
this.pluginService = other.pluginService;
|
this.pluginService = other.pluginService;
|
||||||
}
|
}
|
||||||
|
await this.ready();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 插件就绪
|
||||||
|
*/
|
||||||
|
async ready() {}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user