Skip to content

Commit

Permalink
해결안되서 롤백
Browse files Browse the repository at this point in the history
  • Loading branch information
yhlee002 committed Jul 18, 2024
1 parent 4c65a2d commit 90e46de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/board/BoardComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function writeNewPost() {
<!-- 임시 -->
<div>
<ul>
<li v-for="item in boardStore.listItems" :key="item.id">
<li v-for="item in boardStore.boardList" :key="item.id">
{{item.title}}
</li>
</ul>
Expand Down
16 changes: 8 additions & 8 deletions src/components/sub/PagenationComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ function goNextPage() {
</div>
<div>
<ul class="pagenation-page-list">
<!-- <li v-for="idx in showPages" :key="idx" @click="getPage(idx)"-->
<!-- :class="idx === page? 'current-page' : ''">{{ idx }}-->
<!-- </li>-->
<li v-for="idx in showPages" :key="`page-${idx}`" :class="idx === page? 'current-page' : ''">
<router-link :to="{ name: 'boards', query: { page: idx }, force: true }">
{{ idx }}
</router-link>
<li v-for="idx in showPages" :key="`page-${idx}`" @click="getPage(idx)"
:class="idx === page? 'current-page' : ''">{{ idx }}
</li>

<!-- <router-link v-for="idx in showPages" :key="`page-${idx}`"-->
<!-- :to="{ name: category, query: { page: idx }, force: true }">-->
<!-- <li :class="idx === page? 'current-page' : ''">-->
<!-- {{ idx }}-->
<!-- </li>-->
<!-- </router-link>-->
</ul>
</div>
<div class="next-button">
Expand Down

0 comments on commit 90e46de

Please sign in to comment.