Skip to content
Snippets Groups Projects
Commit d741665f authored by 최지원's avatar 최지원
Browse files

ShowPost

parent 6755796c
No related branches found
No related tags found
1 merge request!29ShowPost
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
<script> <script>
export default { export default {
created: function () { created: function () {
if(this.$store.commit('getToken')){ if(localStorage.getItem('token')){
const _id = this.$route.params._id; const _id = this.$route.params._id;
this.$http.get(`/finderboard/${_id}`) this.$http.get(`/finderboard/${_id}`)
......
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
<script> <script>
export default { export default {
created: function () { created: function () {
if(this.$store.commit('getToken')){ if(localStorage.getItem('token')){
const _id = this.$route.params._id; const _id = this.$route.params._id;
this.$http.get(`/losterboard/${_id}`) this.$http.get(`/losterboard/${_id}`)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment