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("ไม่สามารถโหลดข้อมูลได้");