pref: optimize dialog property (#158)

This commit is contained in:
Hayden
2025-03-03 17:02:03 +08:00
committed by GitHub
parent 7378a7deae
commit 384a106917
3 changed files with 19 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ interface HeaderButton {
command: () => void
}
interface DialogItem {
export interface DialogItem {
key: string
title: string
content: Component
@@ -22,6 +22,7 @@ interface DialogItem {
maxWidth?: number
minHeight?: number
maxHeight?: number
modal?: boolean
}
export const useDialog = defineStore('dialog', () => {