fix(docs): 修正 v2.2.16 组件生命周期描述 (#278)

This commit is contained in:
YHH
2025-12-05 16:01:07 +08:00
committed by GitHub
parent e8fc7f497b
commit 2cb9c471f9
2 changed files with 2 additions and 6 deletions

View File

@@ -84,9 +84,7 @@
### Features
- **组件生命周期**: 添加组件生命周期回调支持 (#237)
- `onEnable()`: 组件启用时调用
- `onDisable()`: 组件禁用时调用
- `onDestroy()`: 组件销毁时调用
- `onDeserialized()`: 组件从场景文件加载或快照恢复后调用,用于恢复运行时数据
- **ServiceContainer 增强**: 改进服务容器功能 (#237)
- 支持 `Symbol.for()` 模式的服务标识