fix: Can't change the original picture.
This commit is contained in:
parent
377a82b9dd
commit
9bcae00cb5
2 changed files with 6 additions and 1 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue