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
c52ba00f
Commit
c52ba00f
authored
Jul 06, 2020
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复表格冻结列错位问题
parent
7c48bc31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js
+5
-2
sql/ry_20200620.sql
+1
-1
No files found.
ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js
View file @
c52ba00f
...
...
@@ -224,9 +224,12 @@
height
:
height
,
top
:
top
+
1
}).
show
();
var
bsHeight
=
$
(
"#"
+
table
.
options
.
id
).
find
(
"tr"
).
eq
(
1
).
height
();
var
fixedHeight
=
$
(
"#"
+
table
.
options
.
id
).
parent
().
prev
().
find
(
"tr"
).
eq
(
1
).
height
();
var
resizeHeight
=
bsHeight
>
fixedHeight
?
bsHeight
:
fixedHeight
;
this
.
$body
.
find
(
'> tr'
).
each
(
function
(
i
)
{
that
.
$fixedBody
.
find
(
'tr:eq('
+
i
+
')'
).
height
(
$
(
this
).
height
()
-
0.5
);
that
.
$fixedBody
.
find
(
'tr:eq('
+
i
+
')'
).
height
(
i
==
0
?
resizeHeight
-
1
:
resizeHeight
);
var
thattds
=
this
;
that
.
$fixedBody
.
find
(
'tr:eq('
+
i
+
')'
).
find
(
'td'
).
each
(
function
(
j
)
{
$
(
this
).
width
(
$
(
$
(
thattds
).
find
(
'td'
)[
j
]).
width
()
+
1
);
...
...
sql/ry_20200620.sql
View file @
c52ba00f
...
...
@@ -121,7 +121,7 @@ create table sys_role (
-- ----------------------------
-- 初始化-角色信息表数据
-- ----------------------------
insert
into
sys_role
values
(
'1'
,
'
系统管理员'
,
'admin'
,
1
,
1
,
'0'
,
'0'
,
'admin'
,
'2018-03-16 11-33-00'
,
'ry'
,
'2018-03-16 11-33-00'
,
'系统
管理员'
);
insert
into
sys_role
values
(
'1'
,
'
超级管理员'
,
'admin'
,
1
,
1
,
'0'
,
'0'
,
'admin'
,
'2018-03-16 11-33-00'
,
'ry'
,
'2018-03-16 11-33-00'
,
'超级
管理员'
);
insert
into
sys_role
values
(
'2'
,
'普通角色'
,
'common'
,
2
,
2
,
'0'
,
'0'
,
'admin'
,
'2018-03-16 11-33-00'
,
'ry'
,
'2018-03-16 11-33-00'
,
'普通角色'
);
...
...
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