2022-09-19 09:23:01 +08:00
|
|
|
# PluginManager
|
|
|
|
|
|
|
|
应用插件管理器的实例,由应用自动创建,可以通过 `app.pm` 访问。
|
|
|
|
|
|
|
|
## 实例方法
|
|
|
|
|
2022-09-23 09:22:17 +08:00
|
|
|
### `create()`
|
2022-09-19 09:23:01 +08:00
|
|
|
|
2022-09-23 09:22:17 +08:00
|
|
|
### `add()`
|
2022-09-19 09:23:01 +08:00
|
|
|
|
2022-09-23 09:22:17 +08:00
|
|
|
### `get()`
|
2022-09-19 09:23:01 +08:00
|
|
|
|
2022-09-23 09:22:17 +08:00
|
|
|
### `install()`
|
2022-09-19 09:23:01 +08:00
|
|
|
|
2022-09-23 09:22:17 +08:00
|
|
|
### `upgrade()`
|
2022-09-19 09:23:01 +08:00
|
|
|
|
2022-09-23 09:22:17 +08:00
|
|
|
### `enable()`
|
2022-09-19 09:23:01 +08:00
|
|
|
|
2022-09-23 09:22:17 +08:00
|
|
|
### `disable()`
|
2022-09-19 09:23:01 +08:00
|
|
|
|
2022-09-23 09:22:17 +08:00
|
|
|
### `remove()`
|