一公司人员定位无数据bug修复

pull/11/head
liujun 2024-03-28 10:30:08 +08:00
parent 9adaee5a09
commit 18e67398ec
1 changed files with 3 additions and 2 deletions

View File

@ -1051,7 +1051,7 @@ export default {
password: '58d06a44d56c4445b4c019492f86ee8d' password: '58d06a44d56c4445b4c019492f86ee8d'
}, },
subscription: { subscription: {
topic: '1698584148364034050/+/+/prop', topic: '+/UwbBQ/+/prop',
qos: 0 qos: 0
}, },
@ -2005,7 +2005,8 @@ export default {
for (let i = 0; i < peopleList.length; i++) { for (let i = 0; i < peopleList.length; i++) {
const item = peopleList[i] const item = peopleList[i]
// //
if (item.properties.length < 3 || item.properties[2].identifier !== 'X' || item.properties[3].identifier !== 'Y') { // UwbBQidUwbJiZhanid
if (item.productKey !== 'UwbBQ') {
continue continue
} }
// //