From 5c9c647a2cca5413078de73dd78b6c7c0a56fecd Mon Sep 17 00:00:00 2001 From: oat_dev Date: Thu, 6 Jun 2024 16:03:47 +0700 Subject: [PATCH] fix: change style on customer dialog --- .../03_customer-management/AboutComponent.vue | 63 +++++++++---------- src/components/TabComponent.vue | 41 ++++++++---- src/pages/03_customer-management/MainPage.vue | 5 +- 3 files changed, 62 insertions(+), 47 deletions(-) diff --git a/src/components/03_customer-management/AboutComponent.vue b/src/components/03_customer-management/AboutComponent.vue index 77499e9c..96927cb0 100644 --- a/src/components/03_customer-management/AboutComponent.vue +++ b/src/components/03_customer-management/AboutComponent.vue @@ -22,38 +22,37 @@ const registerDate = defineModel('registerDate');
• {{ $t(`about`) }}
-
- - - -
+ + + + = index) { - tab.value = tab.value - 1; - } - - if (customerBranch.value.length > 1) { - customerBranch.value.splice(index, 1); + if (tab.value !== 0) { + tab.value = tab.value - 1; + } } + customerBranch.value.splice(index, 1); }