Merge pull request #800 from dataease/pr@dev@refactor_panel-search

refactor:仪表板选择目录查询方式时,对应的子目录也显示
This commit is contained in:
王嘉豪 2021-09-09 15:07:29 +08:00 committed by GitHub
commit e6c067bfc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -773,6 +773,9 @@ export default {
return true
}
if (this.searchPids.indexOf(data.pid) !== -1) {
if (data.nodeType === 'folder') {
this.searchPids.push(data.id)
}
return true
}
} else {