Merge pull request #621 from mdqst/patch-1

fix: class binding for reactive `kind` variable
This commit is contained in:
ping 2025-04-06 10:07:40 +08:00 committed by GitHub
commit 6ee073e2eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ function changeChart(type: string) {
<div class="tabs tabs-boxed bg-transparent justify-end">
<a
class="tab text-xs mr-2 text-gray-400 uppercase"
:class="{ 'tab-active': kind === 'price' }"
:class="{ 'tab-active': kind.value === 'price' }"
@click="changeChart('price')"
>
Price