Unverified 提交 e6c067bf authored 作者: 王嘉豪's avatar 王嘉豪 提交者: GitHub

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

refactor:仪表板选择目录查询方式时,对应的子目录也显示
...@@ -773,6 +773,9 @@ export default { ...@@ -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 {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论