@@ -354,4 +357,10 @@ input[type="file"] {
height: auto;
}
+.arrow-left-icon {
+ cursor: pointer;
+ margin-bottom: 20px;
+}
+
+
\ No newline at end of file
diff --git a/src/views/akopolio/Edit/edit.js b/src/views/akopolio/Edit/edit.js
index 7433cb2..e9494c3 100644
--- a/src/views/akopolio/Edit/edit.js
+++ b/src/views/akopolio/Edit/edit.js
@@ -68,6 +68,10 @@ export default {
});
const isDropdownOpen = ref(false);
+ const goBack = () => {
+ window.history.back(); // 뒤로 가기
+ };
+
const toggleDropdown = () => {
isDropdownOpen.value = !isDropdownOpen.value;
};
@@ -349,6 +353,7 @@ export default {
star,
pmi,
isDropdownOpen,
+ goBack,
toggleDropdown,
toggleTag,
autoResize,
diff --git a/src/views/akopolio/create/akopolioCreate.vue b/src/views/akopolio/create/akopolioCreate.vue
index 5c88253..a1fcd66 100644
--- a/src/views/akopolio/create/akopolioCreate.vue
+++ b/src/views/akopolio/create/akopolioCreate.vue
@@ -2,7 +2,9 @@
-
+
@@ -391,4 +393,9 @@ input[type="file"] {
height: auto;
}
+.arrow-left-icon {
+ cursor: pointer;
+ margin-bottom: 20px;
+}
+
\ No newline at end of file
diff --git a/src/views/akopolio/create/create.js b/src/views/akopolio/create/create.js
index 3223bff..0a16175 100644
--- a/src/views/akopolio/create/create.js
+++ b/src/views/akopolio/create/create.js
@@ -50,6 +50,7 @@ export default {
}
},
methods: {
+
async fetchUserData() {
try {
const response = await fetch(
@@ -81,6 +82,10 @@ export default {
}
},
+ goBack() {
+ window.history.back(); // 이전 페이지로 돌아가기
+ },
+
toggleDropdown() {
this.isDropdownOpen = !this.isDropdownOpen;
},
diff --git a/src/views/akopolio/detail/akopolioDetail.vue b/src/views/akopolio/detail/akopolioDetail.vue
index 7597f51..f55cc01 100644
--- a/src/views/akopolio/detail/akopolioDetail.vue
+++ b/src/views/akopolio/detail/akopolioDetail.vue
@@ -3,6 +3,9 @@