-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.0.4
Environment
4.0.4 google最新版,vue3
Reproduction link
Steps to reproduce
const fieldNames: TreeProps["fieldNames"] = {
children: "child",
title: "tagName",
};
const treeData: Ref<TreeProps["treeData"]> = ref([
{
tagName: "parent 1",
key: "0-0",
child: [
{
tagName: "张晨成",
key: "0-0-0",
disabled: true,
child: [
{ tagName: "leaf", key: "0-0-0-0", disableCheckbox: true },
{ tagName: "leaf", key: "0-0-0-1" },
],
},
{
tagName: "parent 1-1",
key: "0-0-1",
child: [{ key: "0-0-1-0", tagName: "zcvc" }],
},
],
},
]);
替换此段代码即可复现
What is expected?
正常显示标题
What is actually happening?
显示为空白