明树Git Lab

Commit 91e776a8 authored by zfp1's avatar zfp1

update

parent 5b1d9b19
......@@ -91,7 +91,7 @@ function genInsertObj(gbkString, deviceNumber) {
console.log(1, "--")
if (!element.endsWith('}')) {
console.log(2, "--")
let nStr = element.substring(0, element.length - 2);
let nStr = String(element).substring(0, element.length - 2);
console.log(3, "--", element, nStr, "======", element === nStr)
arr.push(nStr)
......
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