refactor: refs #8945 add handlePhotoUpdated method to reload image after update
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
parent
a2e8f332df
commit
500f38cc21
|
@ -31,6 +31,10 @@ const showEditPhotoForm = ref(false);
|
|||
const toggleEditPictureForm = () => {
|
||||
showEditPhotoForm.value = !showEditPhotoForm.value;
|
||||
};
|
||||
|
||||
const handlePhotoUpdated = (evt = false) => {
|
||||
image.value.reload(evt);
|
||||
};
|
||||
</script>
|
||||
<template>
|
||||
<CardDescriptor
|
||||
|
|
Loading…
Reference in New Issue