修复CH公司auto货币的问题
This commit is contained in:
parent
a6fa109a1c
commit
258deda01f
@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user