如何实现数组tags的label属性与tree.getCheckedNodes()返回数组的label绑定呢
相关代码
<el-dialog title="选项" :visible.sync="dialogFormVisible">
<el-input placeholder="输入关键字进行过滤" v-model="filterText"></el-input>
<el-tree class="filter-tree" :data="anaphylaxis" :props="defaultProps" node-key="label" show-checkbox :filter-node-method="filterNode" ref="tree2"></el-tree>
<div slot="footer" class="dialog-footer">
<el-button @click="dialogFormVisible = false">取 消</el-button>
<el-button type="primary" @click="setitem()">确 定</el-button>
</div>
</el-dialog>
<el-table :data="filterAnaylistList3" class="tb-edit" bo