|
|
@ -249,7 +249,9 @@ function getYiData(jkdata) { |
|
|
|
log($.type(gethtml)); |
|
|
|
log($.type(gethtml)); |
|
|
|
let typehtml; |
|
|
|
let typehtml; |
|
|
|
eval("typehtml = " + gethtml); |
|
|
|
eval("typehtml = " + gethtml); |
|
|
|
let typelist = typehtml.class; |
|
|
|
log($.type(typehtml)); |
|
|
|
|
|
|
|
let typelist = typehtml["class"] || []; |
|
|
|
|
|
|
|
|
|
|
|
if (jkdata.categories) { |
|
|
|
if (jkdata.categories) { |
|
|
|
for (var i = 0; i < typelist.length; i++) { |
|
|
|
for (var i = 0; i < typelist.length; i++) { |
|
|
|
if (jkdata.categories.indexOf(typelist[i].type_name) == -1 && typelist[i].type_pid != 0) { |
|
|
|
if (jkdata.categories.indexOf(typelist[i].type_name) == -1 && typelist[i].type_pid != 0) { |
|
|
|