mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-09 04:31:35 +08:00
fixed(table): code smell bug
This commit is contained in:
parent
68ffaed281
commit
fe9b900528
@ -16,7 +16,7 @@ export default {
|
||||
if (render) {
|
||||
return render(h, params, index)
|
||||
} else {
|
||||
if (title && title.length >= 0) {
|
||||
if (title && title.length) {
|
||||
params.row = {}
|
||||
params.row[keyName] = title
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user