diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index bcc55ad..4b94a2b 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -35,6 +35,13 @@
>
{{ item.name }}
+
@@ -124,7 +131,7 @@ const newList = ref
([])
const getNewsList = async () => {
const res: any = await getColumnListApi()
console.log(res)
- newList.value = res.result
+ newList.value = res.result.slice(0, 4)
console.log(newList.value, 'newList.value')
newInfo.value = newList.value[0]
getNewInfo(newList.value[0].id)