Add Filament 4.x fix to memory
This commit is contained in:
parent
7c0e8e6b4f
commit
8198292960
@ -71,6 +71,24 @@
|
||||
- 创建迁移完成报告:`projects/glass-v2-migration-completion.md`
|
||||
- 记录所有完成的功能和特性
|
||||
|
||||
### 第5次提交 (commit a4dd019)
|
||||
- **修复 Filament 4.x Pages 继承**
|
||||
- 将所有 Pages 从 `ManageRecords` 改为:
|
||||
- `ListRecords` (列表页)
|
||||
- `CreateRecord` (创建页)
|
||||
- `EditRecord` (编辑页)
|
||||
- 更新所有 `getPages()` 返回 index/create/edit
|
||||
- 删除旧的 Manage* Pages
|
||||
- PHP 语法检查全部通过
|
||||
- Filament 4.x 使用独立的页面类
|
||||
|
||||
### 学习
|
||||
- Filament 4.x Pages 继承类变更:
|
||||
- Filament 3.x: `ManageRecords`
|
||||
- Filament 4.x: `ListRecords`, `CreateRecord`, `EditRecord`
|
||||
- `getPages()` 需要返回 3 个页面而不是 1 个
|
||||
- `php -l` 是检查语法的好工具
|
||||
|
||||
### 迁移统计
|
||||
- ✅ 6 个数据库迁移文件
|
||||
- ✅ 6 个模型文件
|
||||
|
||||
Loading…
Reference in New Issue
Block a user