Vue.D3.tree icon indicating copy to clipboard operation
Vue.D3.tree copied to clipboard

请问支持自定义文本吗

Open alaxury opened this issue 2 years ago • 0 comments

组件上node-text="name", 用了 <template #node="{data, node: {depth}, radius, isRetracted}"> <template v-if="data.children && data.children.length"> <circle r="6" stroke="red"> <title>BB{{ data.text }} {{ depth }}</title> </circle> </template> <template v-else> <circle r="6" stroke="yellow"> <title>AA{{ data.text }} {{ depth }}</title> </circle> </template> </template>

显示的名字还是不带AA.. 或BB..

alaxury avatar Apr 01 '22 06:04 alaxury