update
parent
73baf0a166
commit
e9494b156b
|
@ -181,9 +181,9 @@ onMounted(() => {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-for="tag in tagList" :key="tag.id" class="flex items-center px-4 py-1 rounded cursor-pointer mr-2" :style="{
|
v-for="tag in tagList" :key="tag" class="flex items-center px-4 py-1 rounded cursor-pointer mr-2" :style="{
|
||||||
backgroundColor: publishListParams.type === tag.id ? '#000000' : '#ffffff',
|
backgroundColor: publishListParams.labelName === tag ? '#000000' : '#ffffff',
|
||||||
color: publishListParams.type === tag.id ? '#ffffff' : '#878d95',
|
color: publishListParams.labelName === tag ? '#ffffff' : '#878d95',
|
||||||
}" @click="handleTagClick(tag)"
|
}" @click="handleTagClick(tag)"
|
||||||
>
|
>
|
||||||
{{ tag }}
|
{{ tag }}
|
||||||
|
|
Loading…
Reference in New Issue