mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: fix reset package not exist
This commit is contained in:
parent
2930f1957c
commit
e86ac44b2a
@ -100,6 +100,10 @@ class ServerService
|
||||
);
|
||||
$tmp = array_column($servers, 'sort');
|
||||
array_multisort($tmp, SORT_ASC, $servers);
|
||||
$servers = array_map(function ($server) {
|
||||
$server['port'] = (int)$server['port'];
|
||||
return $server;
|
||||
}, $servers);
|
||||
return $servers;
|
||||
}
|
||||
|
||||
|
2
public/theme/v2board/assets/umi.js
vendored
2
public/theme/v2board/assets/umi.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user