diff --git a/src/store/modules/RegisterVuex.js b/src/store/modules/RegisterVuex.js
index c491c96..cd6e0ec 100644
--- a/src/store/modules/RegisterVuex.js
+++ b/src/store/modules/RegisterVuex.js
@@ -26,6 +26,12 @@ export default {
return user
+ },
+
+ async updateAvatar(context, newAvatar){
+ const retorno = await axios.post(process.env.VUE_APP_UPLOAD_URL+'/upload/image', newAvatar);
+
+ return retorno.data;
}
diff --git a/src/views/public/Register.vue b/src/views/public/Register.vue
index 4137b8f..a240ba4 100644
--- a/src/views/public/Register.vue
+++ b/src/views/public/Register.vue
@@ -1,37 +1,74 @@
-
+
mdi-arrow-left
-
+
+
+
+
+ mdi-account-circle
+
+
+
+
-
+ -->
-
+
-
-
-
-
-
-
+
+
+
+
+
- Cadastrar
+ Cadastrar
@@ -41,79 +78,75 @@