Skip to content

Commit 556cc7b

Browse files
author
linziguan
committed
修复:在不使用alert的情况下,自定义rowSelection失效问题
1 parent ae4edae commit 556cc7b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/table/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,10 @@ export default {
264264
}
265265
}
266266
return props[k]
267-
}else if(! this.rowSelection){
268-
// 如果没打算开启 rowSelection 则清空默认的选择项
269-
props[k] = null
270-
return props[k]
267+
} else if (!this.rowSelection) {
268+
// 如果没打算开启 rowSelection 则清空默认的选择项
269+
props[k] = null
270+
return props[k]
271271
}
272272
}
273273
props[k] = this[k]

0 commit comments

Comments
 (0)