[增添]添加了datasource的setting数据库以及默认值
This commit is contained in:
15
vendor/filament/forms/stubs/LayoutComponent.stub
vendored
Normal file
15
vendor/filament/forms/stubs/LayoutComponent.stub
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace {{ namespace }};
|
||||
|
||||
use Filament\Forms\Components\Component;
|
||||
|
||||
class {{ class }} extends Component
|
||||
{
|
||||
protected string $view = '{{ view }}';
|
||||
|
||||
public static function make(): static
|
||||
{
|
||||
return app(static::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user