feat: Modify the warning in the conductutil file for attention (#5424)

pull/5440/head
anflower 2022-04-01 10:36:22 +08:00 committed by GitHub
parent a298b00052
commit 0d06ce26ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 {
@ -211,7 +211,7 @@ export function conductCheck<TreeDataType extends BasicDataNode = DataNode>(
}),
);
warning(
note(
!warningMissKeys.length,
`Tree missing follow keys: ${warningMissKeys
.slice(0, 100)