diff --git a/src/App.vue b/src/App.vue index a3a8f67..cbd3449 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,8 +8,7 @@ const samplePic = const listData: ListItem[] = Array.from({ length: 1000 }, (_, i) => ({ id: i, name: `project-${i + 1}`, - path: `/Users/lanyuanxiaoyao/Project/IdeaProjects/project-${i + 1}`, - // 随机选择一个图标 + description: `这是项目 ${i + 1} 的详细描述信息`, icon: samplePic, tags: [ ...(i % 2 === 0 ? [{ id: 1, name: 'Vue', color: '#42b883' }] : []), diff --git a/src/components/ProjectList.vue b/src/components/ProjectList.vue index 9dc5d03..c6c92d1 100644 --- a/src/components/ProjectList.vue +++ b/src/components/ProjectList.vue @@ -281,7 +281,7 @@ const onAfterLeave = (el: Element): void => {