mirror of
https://github.com/v2board/v2board.git
synced 2024-11-14 07:29:13 +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');
|
$tmp = array_column($servers, 'sort');
|
||||||
array_multisort($tmp, SORT_ASC, $servers);
|
array_multisort($tmp, SORT_ASC, $servers);
|
||||||
|
$servers = array_map(function ($server) {
|
||||||
|
$server['port'] = (int)$server['port'];
|
||||||
|
return $server;
|
||||||
|
}, $servers);
|
||||||
return $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