<script setup lang="ts">
const onAdvancedUpload = (event) => {
    console.log(event)
}
</script>
<template>
    <Panel>
        <FileUpload name="demo[]" url="/api/upload" @upload="onAdvancedUpload($event)" :multiple="true" accept="image/*"
            :maxFileSize="1000000">
            <template #empty>
                <p>Перетащите сюда файлы для загрузки</p>
            </template>
        </FileUpload>
    </Panel>
</template>