fix(styles): Fix the issue where the header button remains highlighted after clicking

This commit is contained in:
Azir 2024-05-23 23:36:11 +08:00
parent c9552170ba
commit f7584dc908
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ const cls = computed(() => {
<template> <template>
<!-- define component start: Button --> <!-- define component start: Button -->
<DefineButton v-slot="{ $slots, className }"> <DefineButton v-slot="{ $slots, className }">
<NButton quaternary :class="className"> <NButton quaternary :class="className" :focusable="false">
<div class="flex-center gap-8px"> <div class="flex-center gap-8px">
<component :is="$slots.default" /> <component :is="$slots.default" />
</div> </div>

View File

@ -13,7 +13,7 @@ const appStore = useAppStore();
<ButtonIcon <ButtonIcon
icon="majesticons:color-swatch-line" icon="majesticons:color-swatch-line"
:tooltip-content="$t('icon.themeConfig')" :tooltip-content="$t('icon.themeConfig')"
@click="appStore.openThemeDrawer" @click.stop="appStore.openThemeDrawer"
/> />
</template> </template>