Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
qinchao
7 years ago
Commit
4eea9a0902184f32fa87bde715084d1b7ab0b970
1 parent
57e60b61
sql通用查询 ,以-- 开头的才认为是注释,其余的情况不是
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
monitor-ui-web/src/main/webapp/jsp/sqloperate/sqloperate.jsp
monitor-ui-web/src/main/webapp/jsp/sqloperate/sqloperate.jsp
View file @
4eea9a0
...
...
@@ -250,7 +250,8 @@
if
(
rowContent
){
var
annoteTypeNum
=
rowContent
.
indexOf
(
"--"
);
if
(
annoteTypeNum
>
0
){
newArry
.
push
(
rowContent
.
substr
(
0
,
annoteTypeNum
));
// newArry.push(rowContent.substr(0,annoteTypeNum));
newArry
.
push
(
rowContent
);
}
else
if
(
annoteTypeNum
==
0
){
//去掉
}
else
{
...
...
Please
register
or
login
to post a comment