|
|
|
@ -198,8 +198,9 @@ const quillModalRef = ref(null)
|
|
|
|
|
}, 5000)
|
|
|
|
|
|
|
|
|
|
const mousetrap = inject('mousetrap') as any
|
|
|
|
|
function handleKeydown(){
|
|
|
|
|
function handleKeydown(e){
|
|
|
|
|
|
|
|
|
|
if(e.key=="c"||e.key=="C"){
|
|
|
|
|
const modal = unref(quillModalRef)! as any
|
|
|
|
|
modal.closeModal()
|
|
|
|
|
const modal1 = unref(shortcutModal)! as any
|
|
|
|
@ -208,7 +209,7 @@ const quillModalRef = ref(null)
|
|
|
|
|
modal3.closeModal()
|
|
|
|
|
const modal2 = unref(recycleModalRef)! as any
|
|
|
|
|
modal2.closeModal()
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
function closeModal() {
|
|
|
|
|
showx.value = false
|
|
|
|
|