更新时间:2023-02-05 20:13:17
正如@Redtopia正确指出的那样,jsTree没有最干净的API。
As @Redtopia correctly pointed out, jsTree does not have the cleanest API.
不幸的是,我认为解决方案必须是:
Unfortunately, I believe that the solution will have to be something like:
$("#tree").jstree("remove",data.rslt.obj.find('li'));