fix dialog command palettes error
This commit is contained in:
@@ -13,11 +13,7 @@ export const useCommandPalattesStore = defineStore('command_palettes', () => {
|
||||
const keyFStatus = ref(false)
|
||||
|
||||
const showCommandPalettes = () => {
|
||||
open.value = true;
|
||||
}
|
||||
|
||||
const handleOnDismissCommandPalettes = () => {
|
||||
open.value = false;
|
||||
open.value = true
|
||||
}
|
||||
|
||||
const onKeyPressed = (event: KeyboardEvent) => {
|
||||
@@ -100,7 +96,6 @@ export const useCommandPalattesStore = defineStore('command_palettes', () => {
|
||||
return {
|
||||
open,
|
||||
showCommandPalettes,
|
||||
handleOnDismissCommandPalettes,
|
||||
onKeyPressed,
|
||||
onKeyUp,
|
||||
addRecent,
|
||||
|
Reference in New Issue
Block a user