New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问支持自定义文本吗 #89
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
组件上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..
The text was updated successfully, but these errors were encountered: