Add a unique key to each showDialog (#1786)

This commit is contained in:
Hayden
2024-12-04 12:04:27 +08:00
committed by GitHub
parent 1856479de9
commit e893f3ed03
2 changed files with 7 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ import SettingDialogHeader from '@/components/dialog/header/SettingDialogHeader.
const dialogStore = useDialogStore()
const showSetting = () => {
dialogStore.showDialog({
key: 'global-settings',
headerComponent: SettingDialogHeader,
component: SettingDialogContent
})