Skip to content

Commit

Permalink
fix: 细节问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Plumbiu committed Feb 17, 2023
1 parent 033a091 commit 54c1809
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/components/ArticlesList/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ watch(route, async () => {
artlist.value = await useFetchPostData(route?.params, route.query?.sort, pagenum = 1)
isLoading.value = false
}, { deep: true, immediate: true })
onMounted(() => {
onBeforeMount(() => {
(window as any).addEventListener('scroll', addArtListItem)
})
onUnmounted(() => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/Main/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const route = useRoute()
<Types class="left-0" />
<TypesTagNav v-if="route?.params?.type" />
<div class="timeline-container mt-0 relative 0.33rem">
<ArticlesList class="mr-21.667rem w-full mlg:w-700px" />
<LazyArticlesList class="mr-21.667rem w-full mlg:w-700px" />
<Aside class="absolute display-none top-0 right-0 mlg:display-block" />
</div>
</div>
Expand Down

0 comments on commit 54c1809

Please sign in to comment.