Tree 树形控件 传值
作者:chrispy
<el-tree ref='tree' :data="editForm.leftData" :default-checked-keys="editForm.checkedKeys" node-key="id" :show-checkbox="true" :default-expand-all="true"></el-tree>obj.ch
<el-tree ref='tree' :data="editForm.leftData" :default-checked-keys="editForm.checkedKeys" node-key="id" :show-checkbox="true" :default-expand-all="true"></el-tree>
obj.check_option_ids = this.$refs.tree.getCheckedKeys(true) // 选中 id