1.3.10
vue2.5 Chrome75
。。。
修复autoExpandParent、defaultExpandAll、defaultExpandedKeys、defaultExpandParent API 在异步加载数据后无法正常展开的bug
无法正常展开
v-if="data.length>0" 试下
谢谢
解决了吗?
https://vue.ant.design/docs/vue/faq-cn/#%E5%BD%93%E6%88%91%E5%8A%A8%E6%80%81%E6%94%B9%E5%8F%98-defaultValue,defaultOpenKeys,-initialValue%E7%AD%89defaultXxxx%E7%9A%84%E6%97%B6%E5%80%99%E5%AE%83%E5%B9%B6%E6%B2%A1%E6%9C%89%E7%94%9F%E6%95%88%E3%80%82
解决了吗?
用这个API expandedKeys解决了问题;
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
v-if="data.length>0" 试下