Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
najiu-frontend
najiu-admin-template
Commits
14fb21d0
Commit
14fb21d0
authored
Jul 24, 2021
by
无木
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(table): fix expand style
修复启用expandRowByClick展开图标样式问题 fixed: #969
parent
dce3fb0f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
CHANGELOG.zh_CN.md
CHANGELOG.zh_CN.md
+3
-1
ExpandIcon.tsx
src/components/Table/src/components/ExpandIcon.tsx
+1
-1
No files found.
CHANGELOG.zh_CN.md
View file @
14fb21d0
...
@@ -4,7 +4,9 @@
...
@@ -4,7 +4,9 @@
-
**BasicTable**
修复可编辑单元格不支持
`ellipsis`
配置的问题
-
**BasicTable**
修复可编辑单元格不支持
`ellipsis`
配置的问题
-
**ImgRotateDragVerify**
修复组件
`resume`
方法无法调用的问题
-
**ImgRotateDragVerify**
修复组件
`resume`
方法无法调用的问题
-
**TableAction**
修复 stopButtonPropagation 属性某些情况下不起作用的问题
-
**TableAction**
修复 stopButtonPropagation 属性某些情况下不起作用的问题
-
**BasicTable**
修复全屏模式下看不到子组件弹出层(popconfirm 以及 select、treeSelect 等编辑组件)的问题
-
**BasicTable**
-
修复全屏模式下看不到子组件弹出层(popconfirm 以及 select、treeSelect 等编辑组件)的问题
-
修复启用
`expandRowByClick`
时,点击不可展开的行可能会导致样式错误的问题
-
**Dark Theme**
黑暗主题下的配色问题修正
-
**Dark Theme**
黑暗主题下的配色问题修正
-
修复
`Tree`
组件被选中节点的背景颜色
-
修复
`Tree`
组件被选中节点的背景颜色
-
修复
`Alert`
组件的颜色配置
-
修复
`Alert`
组件的颜色配置
...
...
src/components/Table/src/components/ExpandIcon.tsx
View file @
14fb21d0
...
@@ -3,7 +3,7 @@ import { BasicArrow } from '/@/components/Basic';
...
@@ -3,7 +3,7 @@ import { BasicArrow } from '/@/components/Basic';
export
default
()
=>
{
export
default
()
=>
{
return
(
props
:
Recordable
)
=>
{
return
(
props
:
Recordable
)
=>
{
if
(
!
props
.
expandable
)
{
if
(
!
props
.
expandable
)
{
if
(
props
.
expand
ed
)
{
if
(
props
.
needIndentSpac
ed
)
{
return
<
span
class=
"ant-table-row-expand-icon ant-table-row-spaced"
/>;
return
<
span
class=
"ant-table-row-expand-icon ant-table-row-spaced"
/>;
}
else
{
}
else
{
return
<
span
/>;
return
<
span
/>;
...
...
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