Introducing new features.

This commit is contained in:
WispX 2021-04-21 16:33:55 +08:00
parent 1fc8835018
commit e985da4492

View File

@ -26,7 +26,7 @@ class Base extends AdminBase
protected function getConfigs($keys)
{
$data = Config::all();
$data = Config::order('type', 'asc')->all();
$configs = [];
foreach ($data as &$value) {
if (in_array($value->key, $keys)) {