修复CH公司auto货币的问题

This commit is contained in:
xucheng 2026-01-13 20:39:44 +08:00
parent a6fa109a1c
commit 258deda01f

View File

@ -110,7 +110,7 @@ function BasicInfoHeader({ data, selectedCurrency = "Auto", userMarket }: { data
const market = userMarket.toUpperCase() const market = userMarket.toUpperCase()
if (market.includes("JP")) targetCurrency = "JPY" if (market.includes("JP")) targetCurrency = "JPY"
else if (market.includes("VN")) targetCurrency = "VND" else if (market.includes("VN")) targetCurrency = "VND"
else if (market.includes("CN")) targetCurrency = "CNY" else if (market.includes("CH")) targetCurrency = "CNY"
else if (market.includes("HK")) targetCurrency = "HKD" else if (market.includes("HK")) targetCurrency = "HKD"
else targetCurrency = "USD" else targetCurrency = "USD"
} }
@ -268,7 +268,7 @@ function RawDataTable({ data, title, selectedCurrency = "Auto", userMarket }: {
const market = userMarket.toUpperCase() const market = userMarket.toUpperCase()
if (market.includes("JP")) targetCurrency = "JPY" if (market.includes("JP")) targetCurrency = "JPY"
else if (market.includes("VN")) targetCurrency = "VND" else if (market.includes("VN")) targetCurrency = "VND"
else if (market.includes("CN")) targetCurrency = "CNY" else if (market.includes("CH")) targetCurrency = "CNY"
else if (market.includes("HK")) targetCurrency = "HKD" else if (market.includes("HK")) targetCurrency = "HKD"
else targetCurrency = "USD" else targetCurrency = "USD"
} }