Skip to content

Commit 2abf150

Browse files
authored
docs(Agent): 修复图标路径,顺便 Pangu 了一个空格 (#1001)
1 parent 50114dd commit 2abf150

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- 正确: `// 监听主进程消息`
1919
- 错误: `// 1. listen to main process`, `// this function handles ipc...`
2020

21-
### 2. UI 组件使用Naive UI
21+
### 2. UI 组件使用 Naive UI
2222

2323
- **原则**: 严禁重复造轮子。所有通用交互必须优先使用 Naive UI 组件。
2424
- **处理方式**: 如果未找到合适组件,必须先询问用户,禁止擅自手写原生 CSS/HTML 组件。
@@ -27,7 +27,7 @@
2727

2828
### 3. 图标
2929

30-
- **原则**: 优先复用项目 `src/icons` 或现有图标方案。
30+
- **原则**: 优先复用项目 `src/assets/icons` 或现有图标方案。
3131
- **具体实现**: 严格遵循项目现有的图标组件用法。
3232
- 正确: `<SvgIcon :name="isLikeAlbum ? 'Favorite' : 'FavoriteBorder'" />`
3333
- 错误: 擅自引入 `xicons` (除非用户明确允许) 或手写 SVG 代码。

0 commit comments

Comments
 (0)