Merge pull request #604 from cloudaiminer/master

[FIX] fix typo in pricemarket chart
This commit is contained in:
ping 2024-12-17 12:59:10 +08:00 committed by GitHub
commit ede54e4a7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ const kind = ref('price');
const series = computed(() => {
return [
{
name: 'Price',
name: kind.value === 'price' ? 'Price' : 'Volume',
data:
kind.value === 'price'
? store.marketData.prices.map((item: any) => item[1])