fix: when opening the tool separately, there is no need to pass the toolbar-tools slot (#4841)

This commit is contained in:
Vben
2024-11-09 14:07:41 +08:00
committed by GitHub
parent 9cf0573921
commit 2c6edafeb2
21 changed files with 66 additions and 30 deletions

View File

@@ -1,4 +1,6 @@
<script setup lang="ts">
import type { ClassType } from '@vben-core/typings';
import { computed, ref } from 'vue';
import { cn } from '@vben-core/shared/utils';
@@ -18,8 +20,8 @@ import DialogOverlay from './DialogOverlay.vue';
const props = withDefaults(
defineProps<
{
class?: any;
closeClass?: any;
class?: ClassType;
closeClass?: ClassType;
modal?: boolean;
open?: boolean;
showClose?: boolean;