Skip to content

Commit 0d06ce2

Browse files
authored
feat: Modify the warning in the conductutil file for attention (#5424)
1 parent a298b00 commit 0d06ce2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/vc-tree/utils/conductUtil.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { warning } from '../../vc-util/warning';
1+
import { note } from '../../vc-util/warning';
22
import type { Key, DataEntity, DataNode, GetCheckDisabled, BasicDataNode } from '../interface';
33

44
interface ConductReturnType {
@@ -211,7 +211,7 @@ export function conductCheck<TreeDataType extends BasicDataNode = DataNode>(
211211
}),
212212
);
213213

214-
warning(
214+
note(
215215
!warningMissKeys.length,
216216
`Tree missing follow keys: ${warningMissKeys
217217
.slice(0, 100)

0 commit comments

Comments
 (0)