|
@@ -236,7 +236,12 @@
|
236
|
$("#ht").append("<option value=" + id + " selected>" + htmc + "</option>");
|
236
|
$("#ht").append("<option value=" + id + " selected>" + htmc + "</option>");
|
237
|
document.getElementById('htmc').value = localStorage.getItem('htmc');
|
237
|
document.getElementById('htmc').value = localStorage.getItem('htmc');
|
238
|
var yszlString = localStorage.getItem("yszl");
|
238
|
var yszlString = localStorage.getItem("yszl");
|
239
|
- var yszl = JSON.parse(yszlString);
|
|
|
|
|
239
|
+ console.log('yszlString:'+yszlString)
|
|
|
240
|
+ var yszl;
|
|
|
241
|
+ if (yszlString != null && yszlString != ''){
|
|
|
242
|
+ yszl = JSON.parse(yszlString);
|
|
|
243
|
+ }
|
|
|
244
|
+ console.log(yszl)
|
240
|
|
245
|
|
241
|
dataBxpz.splice(0, dataBxpz.length);
|
246
|
dataBxpz.splice(0, dataBxpz.length);
|
242
|
dataBxpz.push.apply(dataBxpz, yszl);
|
247
|
dataBxpz.push.apply(dataBxpz, yszl);
|