fix bug when processing projector data

This commit is contained in:
sparks-alec
2022-02-14 03:36:42 -05:00
parent c56d8d39b7
commit 609292668f
+4 -2
View File
@@ -23,10 +23,12 @@ let password = false;
function processPJLink(device, str, that) {
const arr = str.split('%');
arr.shift();
const d = device;
arr.forEach((p) => {
const split = arr[p].split('=');
arr.forEach((s) => {
console.log(s)
const split = s.split('=');
const key = split[0];
const value = split[1];