feat: Add avatar upload and merge EditableAvatar.vue with Avatar.vue

This commit is contained in:
iamsivin
2024-11-09 15:30:52 +05:30
parent 271b322761
commit d6cc5422d0
9 changed files with 201 additions and 181 deletions
@@ -192,6 +192,11 @@ const getFormBinding = key => {
};
watch(() => props.contactData, updateState, { immediate: true, deep: true });
// Expose state to parent component for avatar upload
defineExpose({
state,
});
</script>
<template>