Skip to content

Commit

Permalink
fix: 类型重复问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Plumbiu committed Jan 28, 2023
1 parent 4a75364 commit 761c88c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion frontend/components/Articles/Navigation/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="flex text-[13.67px]" border-b-1>
<div class="flex text-[13.67px] bg-[var(--jjext-color-secondary-bg)] border-b-1">
<ArticlesNavigationLink />
<ArticlesNavigationSelect />
</div>
Expand Down
7 changes: 1 addition & 6 deletions frontend/components/Articles/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,7 @@ onUnmounted(() => {
<div class="pb-5 box-border w-full">
<ArticlesNavigation />
<ul v-if="!isLoading">
<ArticlesItem
v-for="item in artlistData" :id="item.id" :key="item.id" :author-id="item.authorId"
:created-at="item.createdAt" :title="item.title" :summary="item.summary"
:viewed="item.viewed" :liked="item.liked" :commented="item.commented" :cover="item.cover"
:tag-ids="item.tagIds"
/>
<ArticlesItem :artlist-item="artlistData" />
</ul>
<ArticlesSkeleton v-else />
</div>
Expand Down

0 comments on commit 761c88c

Please sign in to comment.