изменил правила хранения промтов
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
<Time />
|
||||
</div>
|
||||
|
||||
<!-- Контейнер с рефом для отслеживания скролла -->
|
||||
<div ref="scrollContainer" class="p-4">
|
||||
<Stat
|
||||
v-for="item in items"
|
||||
@@ -74,7 +73,7 @@ const props = defineProps({
|
||||
|
||||
// Константы
|
||||
const LIMIT = 50;
|
||||
const POLL_INTERVAL = 10000; // 10 секунд
|
||||
const POLL_INTERVAL = 15000; // 15 секунд
|
||||
|
||||
// Состояния
|
||||
const isDarkMode = ref(document.documentElement.classList.contains("dark"));
|
||||
@@ -91,7 +90,6 @@ let currentOffset = 0;
|
||||
let pollTimer = null;
|
||||
let lastScrollTop = 0; // Сохраняем позицию скролла
|
||||
|
||||
// === API ===
|
||||
|
||||
const fetchData = async (url) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user