mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-05-01 06:39:01 +08:00
fix: tooltip箭头未居中问题
This commit is contained in:
parent
27a50a99b4
commit
2513e475be
@ -1,9 +1,10 @@
|
||||
<template>
|
||||
<n-tooltip trigger="hover">
|
||||
<div class="f-c-c">
|
||||
<n-tooltip trigger="hover" placement="bottom">
|
||||
<template #trigger>
|
||||
<n-color-picker
|
||||
id="theme-setting"
|
||||
class="mr-16 h-32 w-32"
|
||||
class="h-32 w-32"
|
||||
:value="appStore.primaryColor"
|
||||
:swatches="primaryColors"
|
||||
:on-update:value="(v) => appStore.setPrimaryColor(v)"
|
||||
@ -12,6 +13,7 @@
|
||||
</template>
|
||||
设置主题色
|
||||
</n-tooltip>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
Loading…
x
Reference in New Issue
Block a user