problem description
vue element el-tree @ node-click click event is invalid
related codes
/ / Please paste the code text below (do not replace the code with pictures)
<div>
<img src="images/map/xinzeng.png" />
<span class="el-dropdown-link" v-popover:popover4></span>
<el-popover
ref="popover4"
placement="bottom"
width="300"
trigger="click"
v-model="visible_xmxz">
<div class="xmxz-container">
<el-input
placeholder=""
v-model="filterText2">
</el-input>
<el-tree
class="filter-tree"
:data="datatree"
:props="defaultProps"
default-expand-all
highlight-current
:filter-node-method="filterNode"
@node-click="handleXmxz"
ref="tree3">
</el-tree>
</div>
</el-popover>
</div>
handleXmxz:function(obj, node, data){
if(node.data.type!=0&&node.data.type!=1)return;
$(".xmxz-container").parent("div").hide()
showRight(node.data.type)//
}