Loading...
Loading...
Compare original and translation side by side
<script setup><script setup><script setup><script setup>| Element | Requirement |
|---|---|
| Location | |
| Category | |
| Severity | |
| Title | Short one-line summary. |
| Description | 1–3 sentences. |
| Suggestion | Concrete fix or improvement (optional). |
- **Location**: `src/components/UserList.vue:18`
- **Category**: framework-vue
- **Severity**: major
- **Title**: v-for missing stable key
- **Description**: Using index as key can cause incorrect reuse and state bugs when list order changes.
- **Suggestion**: Use a unique stable id (e.g. user.id) as :key.| 元素 | 要求 |
|---|---|
| 位置 | |
| 类别 | |
| 严重程度 | |
| 标题 | 简短的单行摘要。 |
| 描述 | 1–3句话。 |
| 建议 | 具体的修复或改进方案(可选)。 |
- **Location**: `src/components/UserList.vue:18`
- **Category**: framework-vue
- **Severity**: major
- **Title**: v-for missing stable key
- **Description**: Using index as key can cause incorrect reuse and state bugs when list order changes.
- **Suggestion**: Use a unique stable id (e.g. user.id) as :key.