This commit is contained in:
parent
34a39391b3
commit
16515bad26
|
|
@ -372,6 +372,9 @@ const handleSearch = () => {
|
|||
}
|
||||
handleCheck(item)
|
||||
}
|
||||
} else {
|
||||
typeList.value = []
|
||||
uni.showToast({ title: '未查询到相关设备', icon: 'none' })
|
||||
}
|
||||
}).catch(error => {
|
||||
console.log(error)
|
||||
|
|
|
|||
|
|
@ -230,8 +230,8 @@ const getTableList = async (isTap = false, isSearch = false) => {
|
|||
const unique = []
|
||||
const seen = new Set()
|
||||
for (const item of merged) {
|
||||
if (!seen.has(item.taskId)) {
|
||||
seen.add(item.taskId)
|
||||
if (!seen.has(item.code)) {
|
||||
seen.add(item.code)
|
||||
unique.push(item)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue