From 0d06ce26ac765b5f626de0d7b8e169bc52ea5495 Mon Sep 17 00:00:00 2001 From: anflower <62927479+anflower@users.noreply.github.com> Date: Fri, 1 Apr 2022 10:36:22 +0800 Subject: [PATCH] feat: Modify the warning in the conductutil file for attention (#5424) --- 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 4e4389e38..3bc33d8f9 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)