1
0
mirror of https://gitee.com/dromara/go-view.git synced 2025-04-06 03:58:04 +08:00

fix: 页面布局按钮激活状态不能准确切换问题

Merge pull request  from szy/dev
This commit is contained in:
奔跑的面条 2023-03-28 08:08:52 +00:00 committed by Gitee
commit dde03274c2

@ -11,7 +11,7 @@
<!-- 模块展示按钮 -->
<n-tooltip v-for="item in btnList" :key="item.key" placement="bottom" trigger="hover">
<template #trigger>
<n-button size="small" ghost :type="styleHandle(item)" @click="clickHandle(item)">
<n-button size="small" ghost :type="styleHandle(item)" :focusable="false" @click="clickHandle(item, $event)">
<component :is="item.icon"></component>
</n-button>
</template>