Commit 0820c468 by 王勇飞

gyq

parent 00aec9d2
...@@ -8833,10 +8833,10 @@ class PatentycService extends ServiceBase { ...@@ -8833,10 +8833,10 @@ class PatentycService extends ServiceBase {
"arrt1":[], "arrt1":[],
"arrt2":[] "arrt2":[]
}; };
var max = 5; // var max = 5;
if (arr3.length < 5) { // if (arr3.length < 5) {
max = arr3.length; // max = arr3.length;
} // }
for (var i in arr1) { for (var i in arr1) {
if (arr3.indexOf(arr1[i]) > -1) { if (arr3.indexOf(arr1[i]) > -1) {
...@@ -8941,11 +8941,11 @@ class PatentycService extends ServiceBase { ...@@ -8941,11 +8941,11 @@ class PatentycService extends ServiceBase {
} }
rtnlist.arrt1.push(temp1) rtnlist.arrt1.push(temp1)
rtnlist.arrt2.push(temp2); rtnlist.arrt2.push(temp2);
max--; // max--;
}
if (max <= 0) {
break;
} }
// if (max <= 0) {
// break;
// }
} }
return rtnlist; return rtnlist;
} }
......
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