From da2c6115b4057f970d2e4a3794f6829baeaa8c18 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Thu, 6 Jun 2024 10:28:59 +0000 Subject: [PATCH] feat: customer drawer info --- src/pages/03_customer-management/MainPage.vue | 131 +++++++++++++++++- 1 file changed, 128 insertions(+), 3 deletions(-) diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index f90aa693..e89e10f6 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -70,6 +70,7 @@ const profileSubmit = ref(false); const profileFile = ref(undefined); const profileUrl = ref(''); const infoDrawer = ref(false); +const infoDrawerEdit = ref(false); const inputFile = (() => { const element = document.createElement('input'); @@ -206,6 +207,10 @@ async function onSubmit() { }); clearForm(); } + +function undo() { + infoDrawerEdit.value = false; +}