Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
0820c468
Commit
0820c468
authored
Aug 18, 2020
by
王勇飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gyq
parent
00aec9d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
ipop-web/app/base/service/impl/patentycSve.js
+8
-8
No files found.
ipop-web/app/base/service/impl/patentycSve.js
View file @
0820c468
...
...
@@ -8833,10 +8833,10 @@ class PatentycService extends ServiceBase {
"arrt1"
:[],
"arrt2"
:[]
};
var
max
=
5
;
if
(
arr3
.
length
<
5
)
{
max
=
arr3
.
length
;
}
//
var max = 5;
//
if (arr3.length < 5) {
//
max = arr3.length;
//
}
for
(
var
i
in
arr1
)
{
if
(
arr3
.
indexOf
(
arr1
[
i
])
>
-
1
)
{
...
...
@@ -8941,11 +8941,11 @@ class PatentycService extends ServiceBase {
}
rtnlist
.
arrt1
.
push
(
temp1
)
rtnlist
.
arrt2
.
push
(
temp2
);
max
--
;
}
if
(
max
<=
0
)
{
break
;
// max--;
}
// if (max <= 0) {
// break;
// }
}
return
rtnlist
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment