mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-24 20:17:32 +08:00
feat: update plugin/config api
This commit is contained in:
@@ -35,7 +35,8 @@ class PluginConfigService
|
|||||||
'label' => $item['label'] ?? '',
|
'label' => $item['label'] ?? '',
|
||||||
'placeholder' => $item['placeholder'] ?? '',
|
'placeholder' => $item['placeholder'] ?? '',
|
||||||
'description' => $item['description'] ?? '',
|
'description' => $item['description'] ?? '',
|
||||||
'value' => $dbConfig[$key] ?? $item['default']
|
'value' => $dbConfig[$key] ?? $item['default'],
|
||||||
|
'options' => $item['options'] ?? []
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user