some tg tests

This commit is contained in:
Vladimir Voronin
2024-10-25 01:30:52 +03:00
parent 09666ee717
commit dd7779bc1c

View File

@@ -31,7 +31,7 @@ const fetchCategories = async () => {
const tgname = computed(() => {
if (window.Telegram.WebApp) {
const tg = window.Telegram.WebApp;
tg.expand(); // Разворачиваем веб-приложение на весь экран
// tg.expand(); // Разворачиваем веб-приложение на весь экран
// Получаем информацию о пользователе и выводим её
return tg.initDataUnsafe.user
@@ -63,6 +63,7 @@ onMounted(async () => {
<template>
<div class="px-4 bg-gray-100 h-full ">
<!-- Заголовок -->
{{tgname}}
<h2 class="text-4xl mb-6 font-bold">Transaction list</h2>
<div class="flex flex-col gap-2">
<IconField>