Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ant-design-pro-vue
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
tianzhuanghu
ant-design-pro-vue
Commits
556cc7b3
Commit
556cc7b3
authored
Mar 07, 2019
by
linziguan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复:在不使用alert的情况下,自定义rowSelection失效问题
parent
ae4edae3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
index.js
src/components/table/index.js
+4
-4
No files found.
src/components/table/index.js
View file @
556cc7b3
...
@@ -264,10 +264,10 @@ export default {
...
@@ -264,10 +264,10 @@ export default {
}
}
}
}
return
props
[
k
]
return
props
[
k
]
}
else
if
(
!
this
.
rowSelection
)
{
}
else
if
(
!
this
.
rowSelection
)
{
// 如果没打算开启 rowSelection 则清空默认的选择项
// 如果没打算开启 rowSelection 则清空默认的选择项
props
[
k
]
=
null
props
[
k
]
=
null
return
props
[
k
]
return
props
[
k
]
}
}
}
}
props
[
k
]
=
this
[
k
]
props
[
k
]
=
this
[
k
]
...
...
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