Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-solr
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
xzxt-solr
Commits
5f5aebaf
Commit
5f5aebaf
authored
Apr 04, 2019
by
wangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码整理
parent
bb97fd42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
src/main/webapp/macx.jsp
+0
-2
No files found.
src/main/webapp/macx.jsp
View file @
5f5aebaf
...
...
@@ -1916,7 +1916,6 @@
}
//输出差集 temp:待选数据 temp1:数据库查出的数据
var
diff
=
array_difference
(
temp
,
temp1
);
console
.
log
(
diff
)
for
(
var
i
=
0
;
i
<
diff
.
length
;
i
++
)
{
var
_html_li
=
'<li><div rel="'
+
diff
[
i
].
split
(
"#"
)[
0
]
+
'" name="'
+
diff
[
i
].
split
(
"#"
)[
1
]
+
'">'
+
diff
[
i
].
split
(
"#"
)[
1
]
+
'</div></li>'
;
$
(
'#waiting_ul'
).
append
(
_html_li
);
...
...
@@ -1981,7 +1980,6 @@
//已选数据和待选数据的差集
function
array_difference
(
temp
,
temp1
)
{
// 差集 a - b
var
clone
=
temp
.
slice
(
0
);
console
.
log
(
"clone"
+
clone
)
for
(
var
i
=
0
;
i
<
temp1
.
length
;
i
++
)
{
var
temp0
=
temp1
[
i
];
for
(
var
j
=
0
;
j
<
clone
.
length
;
j
++
)
{
...
...
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