mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
update: v1.4.3-fix
This commit is contained in:
parent
5eddce9624
commit
d8312642e4
@ -39,7 +39,9 @@ export async function Global({ countries = [] }: GlobalProps) {
|
||||
const geoJson = JSON.parse(geoJsonString);
|
||||
|
||||
countries_alpha3.forEach((countryCode) => {
|
||||
const feature = geoJson.features.find((f: any) => f.properties.iso_a3 === countryCode);
|
||||
const feature = geoJson.features.find(
|
||||
(f: any) => f.properties.iso_a3 === countryCode,
|
||||
);
|
||||
|
||||
if (feature) {
|
||||
// 获取国家的边界框
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nezha-dash",
|
||||
"version": "1.4.3",
|
||||
"version": "1.4.3-fix",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3040",
|
||||
|
Loading…
Reference in New Issue
Block a user