fix typo in pricemarket chart

when clicking the volume tab of the chat, hover tip remains Price, should be Volume
This commit is contained in:
cloudaiminer
2024-12-11 23:31:56 +08:00
committed by GitHub
parent c02b0ccb50
commit ae5153c22f
+1 -1
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])