vue 错误提示
Duplicate keys detected: '298'. This may cause an update error.
found in
---> <ElTableBody>
<ElTable> at packages/table/src/table.vue
<VTable> at src/components/control/v-table/index.vue
<HcList> at src/components/bussiness/list/index.vue
<AccountList> at src/views/setSystem/roomHandle/index.vue
<Home> at src/views/home/index.vue
<App> at src/App.vue
<Root>
报错原因: 接口请求回的数据列表中存在重复的 id 值,自己封装的组件使用 id 作为 key,因此 vue 判定可能导致渲染出现问题