forked from github/dataease
Merge pull request #800 from dataease/pr@dev@refactor_panel-search
refactor:仪表板选择目录查询方式时,对应的子目录也显示
This commit is contained in:
commit
e6c067bfc8
@ -773,6 +773,9 @@ export default {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if (this.searchPids.indexOf(data.pid) !== -1) {
|
if (this.searchPids.indexOf(data.pid) !== -1) {
|
||||||
|
if (data.nodeType === 'folder') {
|
||||||
|
this.searchPids.push(data.id)
|
||||||
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user