ปิดเงื่อนไขส่ง param
All checks were successful
frontend-action / build-image (push) Successful in 2m10s
All checks were successful
frontend-action / build-image (push) Successful in 2m10s
This commit is contained in:
@@ -492,9 +492,11 @@ export default {
|
|||||||
// console.log(error);
|
// console.log(error);
|
||||||
// });
|
// });
|
||||||
// }
|
// }
|
||||||
if (this.nameUser) {
|
|
||||||
this.count = 1;
|
|
||||||
} else {
|
// if (this.nameUser) {
|
||||||
|
// this.count = 1;
|
||||||
|
// } else {
|
||||||
client.user.getAllUserCount
|
client.user.getAllUserCount
|
||||||
.query(data)
|
.query(data)
|
||||||
.then((rs) => {
|
.then((rs) => {
|
||||||
@@ -505,7 +507,10 @@ export default {
|
|||||||
alert("ไม่สามารถโหลดข้อมูลได้");
|
alert("ไม่สามารถโหลดข้อมูลได้");
|
||||||
console.error("เกิดข้อผิดพลาดในการโหลดข้อมูล:", error);
|
console.error("เกิดข้อผิดพลาดในการโหลดข้อมูล:", error);
|
||||||
});
|
});
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// var config2 = {
|
// var config2 = {
|
||||||
// method: "get",
|
// method: "get",
|
||||||
// url: "http://localhost:3000/api/user.getAllUser",
|
// url: "http://localhost:3000/api/user.getAllUser",
|
||||||
|
|||||||
Reference in New Issue
Block a user