diff --git a/components/tree/__tests__/__snapshots__/demo.test.js.snap b/components/tree/__tests__/__snapshots__/demo.test.js.snap index b02cefde2..c9fed39f1 100644 --- a/components/tree/__tests__/__snapshots__/demo.test.js.snap +++ b/components/tree/__tests__/__snapshots__/demo.test.js.snap @@ -156,7 +156,7 @@ exports[`renders ./components/tree/demo/customized-icon.vue correctly 1`] = `
- + parent 1
@@ -470,12 +470,12 @@ exports[`renders ./components/tree/demo/switcher-icon.vue correctly 1`] = `
- + parent 1
- + parent 1-0
@@ -495,12 +495,12 @@ exports[`renders ./components/tree/demo/switcher-icon.vue correctly 1`] = `
- + parent 1-1
- + parent 1-2
diff --git a/components/tree/demo/customized-icon.vue b/components/tree/demo/customized-icon.vue index ea3359600..f9e20ce7f 100644 --- a/components/tree/demo/customized-icon.vue +++ b/components/tree/demo/customized-icon.vue @@ -18,9 +18,7 @@ You can customize icons for different nodes.