diff --git a/components/tree/__tests__/__snapshots__/demo.test.js.snap b/components/tree/__tests__/__snapshots__/demo.test.js.snap
index b2ce9aeb81..03d87db17a 100644
--- a/components/tree/__tests__/__snapshots__/demo.test.js.snap
+++ b/components/tree/__tests__/__snapshots__/demo.test.js.snap
@@ -19,7 +19,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
class="ant-tree-checkbox-inner"
/>
-
@@ -28,7 +28,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
>
parent 1
-
+
-
@@ -55,7 +55,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
>
parent 1-0
-
+
-
@@ -82,7 +82,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
>
leaf
-
+
-
@@ -106,7 +106,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
>
leaf
-
+
@@ -123,7 +123,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
class="ant-tree-checkbox-inner"
/>
-
@@ -132,7 +132,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
>
parent 1-1
-
+
-
@@ -163,7 +163,7 @@ exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
sss
-
+
@@ -191,7 +191,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
class="ant-tree-checkbox-inner"
/>
-
@@ -200,7 +200,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
>
0-0
-
+
-
@@ -227,7 +227,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
>
0-0-0
-
+
-
@@ -254,7 +254,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
>
0-0-0-0
-
+
-
@@ -278,7 +278,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
>
0-0-0-1
-
+
-
@@ -302,7 +302,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
>
0-0-0-2
-
+
@@ -319,7 +319,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
class="ant-tree-checkbox-inner"
/>
-
@@ -328,7 +328,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
>
0-0-1
-
+
-
@@ -355,7 +355,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
>
0-0-1-0
-
+
-
@@ -379,7 +379,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
>
0-0-1-1
-
+
-
@@ -403,7 +403,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
>
0-0-1-2
-
+
@@ -420,7 +420,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
class="ant-tree-checkbox-inner"
/>
-
@@ -429,7 +429,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
>
0-0-2
-
+
@@ -446,7 +446,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
class="ant-tree-checkbox-inner"
/>
-
@@ -455,7 +455,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
>
0-1
-
+
-
@@ -479,7 +479,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
>
0-2
-
+
`;
@@ -496,7 +496,7 @@ exports[`renders ./components/tree/demo/customized-icon.md correctly 1`] = `
-
@@ -508,7 +508,7 @@ exports[`renders ./components/tree/demo/customized-icon.md correctly 1`] = `
>
parent 1
-
+
-
@@ -531,7 +531,7 @@ exports[`renders ./components/tree/demo/customized-icon.md correctly 1`] = `
>
parent 1-0
-
+
-
@@ -554,7 +554,7 @@ exports[`renders ./components/tree/demo/customized-icon.md correctly 1`] = `
>
leaf
-
+
-
@@ -574,7 +574,7 @@ exports[`renders ./components/tree/demo/customized-icon.md correctly 1`] = `
>
leaf
-
+
@@ -584,7 +584,7 @@ exports[`renders ./components/tree/demo/customized-icon.md correctly 1`] = `
-
@@ -596,7 +596,7 @@ exports[`renders ./components/tree/demo/customized-icon.md correctly 1`] = `
>
parent 1-1
-
+
-
@@ -619,7 +619,7 @@ exports[`renders ./components/tree/demo/customized-icon.md correctly 1`] = `
>
leaf
-
+
@@ -629,7 +629,7 @@ exports[`renders ./components/tree/demo/customized-icon.md correctly 1`] = `
-
@@ -641,7 +641,7 @@ exports[`renders ./components/tree/demo/customized-icon.md correctly 1`] = `
>
leaf
-
+
@@ -660,7 +660,7 @@ exports[`renders ./components/tree/demo/draggable.md correctly 1`] = `
-
0-0
-
+
-
0-0-0
-
+
-
0-0-0-0
-
+
-
0-0-0-1
-
+
-
0-0-0-2
-
+
@@ -763,7 +763,7 @@ exports[`renders ./components/tree/demo/draggable.md correctly 1`] = `
-
0-0-1
-
+
-
0-0-2
-
+
@@ -803,7 +803,7 @@ exports[`renders ./components/tree/demo/draggable.md correctly 1`] = `
-
0-1
-
+
-
0-2
-
+
`;
@@ -858,7 +858,7 @@ exports[`renders ./components/tree/demo/line.md correctly 1`] = `
-
@@ -867,7 +867,7 @@ exports[`renders ./components/tree/demo/line.md correctly 1`] = `
>
parent 1
-
+
-
@@ -887,7 +887,7 @@ exports[`renders ./components/tree/demo/line.md correctly 1`] = `
>
parent 1-0
-
+
-
@@ -907,7 +907,7 @@ exports[`renders ./components/tree/demo/line.md correctly 1`] = `
>
leaf
-
+
-
@@ -924,7 +924,7 @@ exports[`renders ./components/tree/demo/line.md correctly 1`] = `
>
leaf
-
+
-
@@ -941,7 +941,7 @@ exports[`renders ./components/tree/demo/line.md correctly 1`] = `
>
leaf
-
+
@@ -951,7 +951,7 @@ exports[`renders ./components/tree/demo/line.md correctly 1`] = `
-
@@ -960,7 +960,7 @@ exports[`renders ./components/tree/demo/line.md correctly 1`] = `
>
parent 1-1
-
+
-
@@ -977,7 +977,7 @@ exports[`renders ./components/tree/demo/line.md correctly 1`] = `
>
parent 1-2
-
+
@@ -1014,7 +1014,7 @@ exports[`renders ./components/tree/demo/search.md correctly 1`] = `
-
@@ -1028,7 +1028,7 @@ exports[`renders ./components/tree/demo/search.md correctly 1`] = `
0-0
-
+
-
@@ -1050,7 +1050,7 @@ exports[`renders ./components/tree/demo/search.md correctly 1`] = `
0-1
-
+
-
@@ -1072,7 +1072,7 @@ exports[`renders ./components/tree/demo/search.md correctly 1`] = `
0-2
-
+