Skip to content

Commit

Permalink
feat: Modify the warning in the conductutil file for attention (#5424)
Browse files Browse the repository at this point in the history
  • Loading branch information
anflower authored Apr 1, 2022
1 parent a298b00 commit 0d06ce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/vc-tree/utils/conductUtil.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { warning } from '../../vc-util/warning';
import { note } from '../../vc-util/warning';
import type { Key, DataEntity, DataNode, GetCheckDisabled, BasicDataNode } from '../interface';

interface ConductReturnType {
Expand Down Expand Up @@ -211,7 +211,7 @@ export function conductCheck<TreeDataType extends BasicDataNode = DataNode>(
}),
);

warning(
note(
!warningMissKeys.length,
`Tree missing follow keys: ${warningMissKeys
.slice(0, 100)
Expand Down

0 comments on commit 0d06ce2

Please sign in to comment.