diff --git a/packages/components/collection/__tests__/collection-item.test.ts b/packages/components/collection/__tests__/collection-item.test.ts
index 1fbfb7be9a..e5949e9a6c 100644
--- a/packages/components/collection/__tests__/collection-item.test.ts
+++ b/packages/components/collection/__tests__/collection-item.test.ts
@@ -75,6 +75,6 @@ describe('', () => {
expect(childVm.itemMap.size).toBe(3)
const items = childVm.getItems()
expect(childVm.getItems()).toHaveLength(3)
- expect(items[0].ref).toBe(collectionItems.at(0).element)
+ expect(items[0].ref).toBe(collectionItems.at(0)?.element)
})
})
diff --git a/packages/components/collection/src/collection-item.vue b/packages/components/collection/src/collection-item.vue
index b538a133f3..765e50ba1a 100644
--- a/packages/components/collection/src/collection-item.vue
+++ b/packages/components/collection/src/collection-item.vue
@@ -2,10 +2,8 @@
-