Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何重新加载商店?
如何将新的对应路径传递给代理(nodeParam)?
编辑:
我的树有name和path和children属性。但是,由于children: []是空的,因此没有显示可单击的箭头。
name
path
children
children: []
我希望显示箭头,然后请求在path(/abc/def) 处等待的数据。
我读到有人使用在发出新请求时被删除的虚拟数据。
空孩子"children":[]导致没有箭头。
"children":[]
不确定您对自己的回答是否意味着您已经弄清楚了。无论如何,如果将“leaf”属性设置为 false 并省略“children”属性,它将起作用。