perf: 优化首页的GitHub信息展示

Co-authored-by: Snlan <pridewui@foxmail.com>
This commit is contained in:
Snlan 2023-06-08 22:21:24 +08:00 committed by GitHub
parent 3471e4a7e2
commit 56368c1163
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,7 +145,9 @@ getReleases().then(({ data }) => {
</template>
<el-skeleton animated :rows="7" :loading="loading">
<template #default>
<Github />
<el-scrollbar :height="`calc(${height}px - 35vh - 340px)`">
<Github />
</el-scrollbar>
</template>
</el-skeleton>
</el-card>