@@ -198,7 +198,7 @@ const items = ref([])
const deviceChoose = (rows) => {
debugger
rows.forEach((it) => {
- const ifExist = list.value.find((item) => item.id === it.id)
+ const ifExist = list.value.find((item) => item.id === it.id&&item.deviceId===it.deviceId)
if (!ifExist) {
list.value.push(it)
console.log(JSON.stringify(it))