fix: #319 add watch of inputConfirmPwd inside onMounted

This commit is contained in:
Cindy Chang
2024-07-10 10:40:15 +08:00
parent b70f241ab5
commit bba7f24672
2 changed files with 31 additions and 2 deletions

View File

@@ -13,9 +13,8 @@ export const useModalStore = defineStore('modalStore', {
this.whichModal = whichModal;
},
async closeModal(){
console.log("Start closing modal");
await delaySecond(2);
this.isModalOpen = false;
console.log("Modal closed");
},
},
});