From 283d208791af7e588821030f0fef5c838bf94174 Mon Sep 17 00:00:00 2001 From: Jarinya Date: Mon, 24 Jun 2024 11:40:15 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=B4=E0=B8=94=E0=B9=80=E0=B8=87?= =?UTF-8?q?=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=99=E0=B9=84=E0=B8=82=E0=B8=AA?= =?UTF-8?q?=E0=B9=88=E0=B8=87=20param?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/search/SearchMain.vue | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/components/search/SearchMain.vue b/src/components/search/SearchMain.vue index 735a8dc..676093c 100644 --- a/src/components/search/SearchMain.vue +++ b/src/components/search/SearchMain.vue @@ -492,9 +492,11 @@ export default { // console.log(error); // }); // } - if (this.nameUser) { - this.count = 1; - } else { + + + // if (this.nameUser) { + // this.count = 1; + // } else { client.user.getAllUserCount .query(data) .then((rs) => { @@ -505,7 +507,10 @@ export default { alert("ไม่สามารถโหลดข้อมูลได้"); console.error("เกิดข้อผิดพลาดในการโหลดข้อมูล:", error); }); - } + // } + + + // var config2 = { // method: "get", // url: "http://localhost:3000/api/user.getAllUser",