UnitDataTab.vue 363 B

123456789101112131415
  1. <template>
  2. <div class="q-pa-md">
  3. <div class="row justify-center q-mb-lg">
  4. <AvatarImageComponent @update:file="onAvatarChange" />
  5. </div>
  6. </div>
  7. </template>
  8. <script setup>
  9. import AvatarImageComponent from "src/components/shared/AvatarImageComponent.vue";
  10. function onAvatarChange(file) {
  11. console.log("Avatar file selected:", file);
  12. }
  13. </script>