1
0

Исправления фронта

Множество оптимизаций по фронту
This commit is contained in:
2026-01-16 10:15:33 +07:00
parent cb075e56be
commit 3258fa9137
30 changed files with 1797 additions and 2584 deletions

View File

@@ -68,7 +68,8 @@
</template>
<script setup>
import { ref, computed, onMounted, onUpdated } from 'vue'
import { ref, computed } from 'vue'
import { useLucideIcons } from '../../composables/useLucideIcons'
const props = defineProps({
files: {
@@ -108,6 +109,8 @@ const props = defineProps({
const emit = defineEmits(['add', 'remove', 'preview', 'error'])
useLucideIcons()
const fileInputRef = ref(null)
const isDragging = ref(false)
@@ -237,16 +240,6 @@ const downloadFile = async (file) => {
}
}
// Обновление иконок
const refreshIcons = () => {
if (window.lucide) {
window.lucide.createIcons()
}
}
onMounted(refreshIcons)
onUpdated(refreshIcons)
// Экспортируем методы
defineExpose({
triggerFileInput