perf: improve post tag styles

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/628/head
Ryan Wang 2022-09-29 14:16:11 +08:00
parent 05a6c1cec9
commit 3edc16a744
1 changed files with 5 additions and 1 deletions

View File

@ -40,7 +40,11 @@ const handleRouteToDetail = () => {
</script>
<template>
<VTag
:styles="{ background: tag.spec.color, color: labelColor }"
:styles="{
background: tag.spec.color,
color: labelColor,
borderColor: tag.spec.color,
}"
@click="handleRouteToDetail"
>
{{ tag.spec.displayName }}