fixed: modal closing too slow bug

This commit is contained in:
Cindy Chang
2024-07-10 10:58:38 +08:00
parent bba7f24672
commit 6b7778fe9f
2 changed files with 1 additions and 2 deletions

View File

@@ -13,7 +13,6 @@ export const useModalStore = defineStore('modalStore', {
this.whichModal = whichModal;
},
async closeModal(){
await delaySecond(2);
this.isModalOpen = false;
},
},