2.4.6
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3526.0 Safari/537.36
2.5.17
https://jsfiddle.net/yt5jnqrm/
期望直接操作数据,界面与数据同步。
直接操作数据删除节点,界面没有同步。
Translation of this issue:
Element UI version
2.4.6
OS/Browsers version
Mozilla / 5.0 (Macintosh; Intel Mac OS X 10_13_6) Apple WebKit / 537.36 (KHTML, like Gecko) Chrome / 70.0.3526.0 Safari / 537.36
Vue version
2.5.17
Reproduction Link
https://jsfiddle.net/yt5jnqrm/
Steps to reproduce
It is expected to directly manipulate data and synchronize interface with data.
What is actually happening?
Direct operation of data deletion nodes, interface is not synchronized.
try this.$refs.tree.remove(data);
@ziyoung 我也遇到同样的问题,element升级到了2.4.6出现的问题。官网上的文档删除按钮也失效了
Most helpful comment
try this.$refs.tree.remove(data);