From 107c9ceafae17d291a6e467fd934f3d5ddd6ba8a Mon Sep 17 00:00:00 2001 From: zhangkuian <1352368240@qq.com> Date: Wed, 30 Mar 2022 16:30:57 +0800 Subject: [PATCH] chore: Modify the warning in the conductutil file for attention --- components/vc-tree/utils/conductUtil.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/vc-tree/utils/conductUtil.ts b/components/vc-tree/utils/conductUtil.ts index 4e4389e384..3bc33d8f99 100644 --- a/components/vc-tree/utils/conductUtil.ts +++ b/components/vc-tree/utils/conductUtil.ts @@ -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( }), ); - warning( + note( !warningMissKeys.length, `Tree missing follow keys: ${warningMissKeys .slice(0, 100)