mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-09 15:53:38 +00:00
fix bug when processing projector data
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user