jstree获取半选中节点的方法

$('#jstree1').jstree().get_undetermined();
返回一个数组,getPara();方法无法获取数组

get_undetermined ([full]) 

get an array of all nodes whose state is "undetermined"

  • full:

    boolean if set to `true` the returned array will consist of the full node objects, otherwise - only IDs will be returned

  • Returns

    Array

原文地址:https://www.cnblogs.com/youcandoit-/p/8358622.html