File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @wsfe/vue-tree" ,
3
- "version" : " 4.0.0 " ,
3
+ "version" : " 4.0.1 " ,
4
4
"types" : " ./types" ,
5
5
"description" : " A vue tree component using virtual list." ,
6
6
"main" : " ./dist/vue-tree.umd.js" ,
Original file line number Diff line number Diff line change @@ -224,11 +224,11 @@ function search(keyword1?: string): Promise<void> {
224
224
// #region Event handlers
225
225
/** 处理全选点击 */
226
226
function handleCheckAll(): void {
227
- const keyField = treeRef . value ? .keyField
227
+ const keyField = props .keyField
228
228
if (props .searchDisabled || checkAllStatus .disabled || ! treeRef .value || ! keyField ) return
229
229
230
230
const currentVisibleKeys = treeRef .value .getCurrentVisibleNodes ().map ((node : TreeNode ) => node [keyField ])
231
- if (checkAllStatus .checked || checkAllStatus . indeterminate ) {
231
+ if (checkAllStatus .checked ) {
232
232
// 反选
233
233
treeRef .value .setCheckedKeys (currentVisibleKeys , false )
234
234
} else {
You can’t perform that action at this time.
0 commit comments