From 232649a42eb0f64fdb860d52f061fdea964f26fb Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Fri, 26 May 2023 11:47:04 +0800 Subject: [PATCH] docs: update the tree component filter example data type (#12942) --- docs/examples/tree/filtering.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/examples/tree/filtering.vue b/docs/examples/tree/filtering.vue index 3a62aeace8..d1d33ad9a5 100644 --- a/docs/examples/tree/filtering.vue +++ b/docs/examples/tree/filtering.vue @@ -16,9 +16,7 @@ import { ref, watch } from 'vue' import { ElTree } from 'element-plus' interface Tree { - id: number - label: string - children?: Tree[] + [key: string]: any } const filterText = ref('')