From f29e6675611e4f901b0baba135e00ee1fcde480c Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Mon, 5 Aug 2024 17:11:37 +0300 Subject: [PATCH] dockerfile --- front/pages/table/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/front/pages/table/index.vue b/front/pages/table/index.vue index cb3533f..b9ba3a1 100644 --- a/front/pages/table/index.vue +++ b/front/pages/table/index.vue @@ -9,7 +9,7 @@ const pagination = ref({ total: 10, pageCount: 10 }) const user_id = ref() const loadData = async () => { - const items_data = await apiCall>(`tgbot/?page=${page.value}&user_id=${user_id.value}`) + const items_data = await apiCall>(`tgbot/?page=${page.value}&user_id=${user_id.value || ''}`) const res = items_data.results res.map(item => { const uniq = [...new Set(item.tmc.map(el => el.tmc.id))] @@ -39,7 +39,9 @@ const columns = [ ] const testCallback = (user: any) => { + console.log(user) user_id.value = user.id + loadData() }