fix: Can't change the original picture.

This commit is contained in:
Net 2024-07-24 15:18:04 +07:00
parent 377a82b9dd
commit 9bcae00cb5
2 changed files with 6 additions and 1 deletions

View file

@ -20,6 +20,7 @@ withDefaults(
defineEmits<{
(e: 'inputFile'): void;
(e: 'cancelFile'): void;
}>();
</script>
@ -64,7 +65,7 @@ defineEmits<{
padding="8px"
class="cancel-img-btn full-width"
:label="$t('cancel')"
@click="urlProfile = ''"
@click="(urlProfile = ''), $emit('cancelFile')"
/>
</div>
<div class="col-6">