From 401fb76f1417fae0e57164c49492570316f0496d Mon Sep 17 00:00:00 2001 From: Jarinya Jusing Date: Fri, 7 Jun 2024 13:12:30 +0700 Subject: [PATCH] update filter group --- src/components/search/CardUserGroup.vue | 12 ++++++++---- src/components/search/SearchMain.vue | 6 +++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/search/CardUserGroup.vue b/src/components/search/CardUserGroup.vue index f20db4f..893040f 100644 --- a/src/components/search/CardUserGroup.vue +++ b/src/components/search/CardUserGroup.vue @@ -61,14 +61,19 @@ background: white; border-radius: 10px; min-height: 180px; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + text-align: center; " class="py-5" >
{{ item.firstName }} @@ -218,7 +223,7 @@ export default { this.load = false; console.error("เกิดข้อผิดพลาดในการโหลดข้อมูล:", error); }); - + // let param = { input: JSON.stringify({ 0: data }) }; // var axios = require("axios"); @@ -278,7 +283,6 @@ export default { // this.load = false; // console.error("เกิดข้อผิดพลาดในการโหลดข้อมูล:", error); // }); - } }, }; diff --git a/src/components/search/SearchMain.vue b/src/components/search/SearchMain.vue index 69e0860..b30331e 100644 --- a/src/components/search/SearchMain.vue +++ b/src/components/search/SearchMain.vue @@ -593,9 +593,9 @@ export default { .query({}) .then((data) => { this.provinceItems = data; - if (this.getUsername) { - this.getUser(data); - } + // if (this.getUsername) { + // this.getUser(data); + // } }) .catch((error) => { // alert("ไม่สามารถโหลดข้อมูลได้");