明树Git Lab

Commit 0bd73827 authored by zfp1's avatar zfp1

update

parent 0613d7d7
......@@ -87,7 +87,7 @@ function genInsertObj(gbkString, deviceNumber) {
let arr = [];
for (let index = 0; index < splitArr.length; index++) {
let element = splitArr[index];
console.log(element.startsWith('{'), !element.endsWith('}'), element.slice(0, -2))
console.log(element.startsWith('{'), !element.endsWith('}'), element.slice(0, -2), element)
if (element.startsWith('{')) {
if (!element.endsWith('}')) {
element = element.slice(0, -2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment