[增添]添加了datasource的setting数据库以及默认值
This commit is contained in:
16
vendor/filament/widgets/stubs/StatsOverviewWidget.stub
vendored
Normal file
16
vendor/filament/widgets/stubs/StatsOverviewWidget.stub
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace {{ namespace }};
|
||||
|
||||
use Filament\Widgets\StatsOverviewWidget as BaseWidget;
|
||||
use Filament\Widgets\StatsOverviewWidget\Stat;
|
||||
|
||||
class {{ class }} extends BaseWidget
|
||||
{
|
||||
protected function getStats(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user