From 4ff56927891ae4e3daa17bc56c1a4419eae7c23a Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 19 Apr 2022 13:07:23 +0200 Subject: [PATCH] Default formatter --- .vscode/settings.json | 3 +++ src/pages/Customer/CustomerList.vue | 9 ++++++-- src/pages/Customer/CustomerMain.vue | 13 +++++++++--- src/pages/Dashboard/Dashboard.vue | 32 +++++++++++++++++++++-------- src/pages/Ticket/TicketList.vue | 9 ++++++-- src/pages/Ticket/TicketMain.vue | 12 +++++++++-- 6 files changed, 61 insertions(+), 17 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 3dcb9b1d6..c8da3d854 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,5 +14,8 @@ ], "[javascript]": { "editor.defaultFormatter": "vscode.typescript-language-features" + }, + "[vue]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" } } diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue index cf5dfcb4b..ebc291933 100644 --- a/src/pages/Customer/CustomerList.vue +++ b/src/pages/Customer/CustomerList.vue @@ -71,9 +71,14 @@ function navigate(id) { - + @click="customer.expanded.value = !customer.expanded.value" + /> diff --git a/src/pages/Customer/CustomerMain.vue b/src/pages/Customer/CustomerMain.vue index f4366e140..f27c822cb 100644 --- a/src/pages/Customer/CustomerMain.vue +++ b/src/pages/Customer/CustomerMain.vue @@ -4,12 +4,19 @@ import LeftMenu from 'src/components/LeftMenu.vue'; const drawer = ref(false); const miniState = ref(true); -