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