I introduced jquery, into the vue project and used the delegate method, as follows:
mounted () {
this._initTreeData();
let func = function () {
console.log("PPPPPP");
};
$(".category-tree-wrapper").delegate("span[name="span_addCategory"]", "click", func)
}
but clicking the button on the page does not take effect. What is the reason