优化变量描述

This commit is contained in:
2024-12-11 16:44:22 +08:00
parent 5f08e317fa
commit f0ec23bcce
4 changed files with 14 additions and 14 deletions

View File

@@ -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' }] : []),