feat: 选中即预览数据

This commit is contained in:
taojinlong 2021-08-26 16:49:08 +08:00
parent ed6840d919
commit f7dbe6f524

View File

@ -212,6 +212,7 @@ export default {
handleCheckChange(data, checked, indeterminate) {
if(checked){
this.defaultCheckedKeys.push(data.id)
this.handleNodeClick(data)
}else {
var index = this.defaultCheckedKeys.findIndex(id => {
if ( id == data.id) {