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); -