[修改]修改了Exporter变量名称及页面配置
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Filament\Pages;
|
||||
|
||||
use App\Settings\ExposerSettings;
|
||||
use App\Settings\ExporterSettings;
|
||||
use Filament\Forms;
|
||||
use Filament\Forms\Form;
|
||||
use Filament\Pages\SettingsPage;
|
||||
@@ -15,11 +15,11 @@ use Filament\Forms\Components\Toggle;
|
||||
use Filament\Forms\Components\Textarea;
|
||||
use Filament\Forms\Components\Fieldset;
|
||||
|
||||
class ManageExposer extends SettingsPage
|
||||
class ManageExporter extends SettingsPage
|
||||
{
|
||||
protected static ?string $navigationIcon = 'heroicon-o-cog-6-tooth';
|
||||
|
||||
protected static string $settings = ExposerSettings::class;
|
||||
protected static string $settings = ExporterSettings::class;
|
||||
|
||||
public function form(Form $form): Form
|
||||
{
|
||||
@@ -27,11 +27,11 @@ class ManageExposer extends SettingsPage
|
||||
->schema([
|
||||
Fieldset::make()
|
||||
->schema([
|
||||
Textarea::make('exposer_bind')
|
||||
->label('OPC UA Endpoint')
|
||||
TextInput::make('exposer_bind')
|
||||
->label('bind')
|
||||
->required(),
|
||||
TextInput::make('exposer_auth')
|
||||
->label('OPC UA Endpoint')
|
||||
TextInput::make('exposer_thread')
|
||||
->label('thread')
|
||||
->required(),
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user