Merge branch 'main' into board-view-profile
This commit is contained in:
commit
758a717d47
@ -25,7 +25,7 @@
|
||||
</span>
|
||||
</h5>
|
||||
<!-- 본문 -->
|
||||
<div class="card-text str_wrap" v-html="$common.contentToHtml(content)"></div>
|
||||
<div class="card-text str_wrap my-5">{{ content }}</div>
|
||||
<!-- 날짜 -->
|
||||
<div class="d-flex justify-content-between">
|
||||
<small class="text-muted">{{ formattedDate }}</small>
|
||||
@ -125,6 +125,7 @@ const formattedDate = computed(() => {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
|
||||
@ -136,6 +136,7 @@ const fetchGeneralPosts = async (page = 1) => {
|
||||
likes: post.likeCount != null ? post.likeCount : null,
|
||||
comments: post.commentCount != null ? post.commentCount : null,
|
||||
attachment: post.hasAttachment || false,
|
||||
content: post.plainContent || '',
|
||||
}));
|
||||
|
||||
// 페이지네이션 정보 업데이트
|
||||
@ -173,6 +174,7 @@ const fetchNoticePosts = async () => {
|
||||
img: post.img || null,
|
||||
views: post.cnt || 0,
|
||||
attachment: post.hasAttachment || false,
|
||||
content: post.plainContent || '',
|
||||
}));
|
||||
} else {
|
||||
console.error("데이터 오류:", response.data);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user