selecting: function (event, ui) {
        // change class and image
      $(this)
            .addClass("ui-state-highlight")
            .find("img")
            .removeAttr("src")
            .attr("src", ico_userChecked);
        $(ui.selected)
            .addClass("ui-state-highlight")
            .find("img")
            .removeAttr("src")
            .attr("src", ico_userChecked);
      svgDrawLine($(this), $(ui.selected));
}
我可以添加这个,但它没有连接我知道我们不能使用 ui.selected 来选择 func 就像他们使用拖放 func 所以我应该怎么做请帮助我提前谢谢你