2022-09-23 09:22:17 +08:00
|
|
|
# Plugin
|
|
|
|
|
|
|
|
## 属性
|
|
|
|
|
|
|
|
### `options`
|
|
|
|
|
|
|
|
插件配置信息
|
|
|
|
|
2022-10-06 11:38:01 +08:00
|
|
|
### `name`
|
|
|
|
|
|
|
|
插件标识,只读
|
2022-09-23 09:22:17 +08:00
|
|
|
|
2022-10-06 11:38:01 +08:00
|
|
|
### `model`
|
2022-09-23 09:22:17 +08:00
|
|
|
|
2022-10-06 11:38:01 +08:00
|
|
|
插件模型数据
|
|
|
|
|
|
|
|
## 实例方法
|
2022-09-23 09:22:17 +08:00
|
|
|
|
|
|
|
### `beforeLoad()`
|
|
|
|
|
|
|
|
加载前,如事件或类注册
|
|
|
|
|
|
|
|
### `load()`
|
|
|
|
|
|
|
|
加载配置
|
|
|
|
|
|
|
|
### `install()`
|
|
|
|
|
|
|
|
插件安装逻辑
|