mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 06:48:46 +00:00
30 lines
243 B
Markdown
30 lines
243 B
Markdown
|
# Plugin
|
||
|
|
||
|
## 属性
|
||
|
|
||
|
### `name`
|
||
|
|
||
|
只读
|
||
|
|
||
|
### `options`
|
||
|
|
||
|
插件配置信息
|
||
|
|
||
|
## 实例方法
|
||
|
|
||
|
### `initialize()`
|
||
|
|
||
|
初始化
|
||
|
|
||
|
### `beforeLoad()`
|
||
|
|
||
|
加载前,如事件或类注册
|
||
|
|
||
|
### `load()`
|
||
|
|
||
|
加载配置
|
||
|
|
||
|
### `install()`
|
||
|
|
||
|
插件安装逻辑
|