Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fgqyxxlr
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
yaru
fgqyxxlr
Commits
55978c7f
Commit
55978c7f
authored
Dec 10, 2019
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表格浮动提示单双引号转义
parent
b2012e69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js
+3
-2
No files found.
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js
View file @
55978c7f
...
...
@@ -274,10 +274,11 @@ var table = {
var
_target
=
$
.
common
.
isEmpty
(
target
)
?
'copy'
:
target
;
if
(
_value
.
length
>
_length
)
{
_text
=
_value
.
substr
(
0
,
_length
)
+
"..."
;
_value
=
_value
.
replace
(
/
\'
/g
,
"’"
);
_value
=
_value
.
replace
(
/
\'
/g
,
"'"
);
_value
=
_value
.
replace
(
/
\"
/g
,
"""
);
var
actions
=
[];
actions
.
push
(
$
.
common
.
sprintf
(
'<input id="tooltip-show" style="opacity: 0;position: absolute;z-index:-1" type="text" value="%s"/>'
,
_value
));
actions
.
push
(
$
.
common
.
sprintf
(
"<a href='###' class='tooltip-show' data-toggle='tooltip' data-target='%s' title='%s'>%s</a>"
,
_target
,
_value
,
_text
));
actions
.
push
(
$
.
common
.
sprintf
(
'<a href="###" class="tooltip-show" data-toggle="tooltip" data-target="%s" title="%s">%s</a>'
,
_target
,
_value
,
_text
));
return
actions
.
join
(
''
);
}
else
{
_text
=
_value
;
...
...
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