加入批量删除爬虫

This commit is contained in:
marvzhang
2020-02-22 12:44:58 +08:00
parent 52ba29045e
commit 15ea0da0f3
6 changed files with 107 additions and 5 deletions

View File

@@ -415,7 +415,9 @@ export default {
const data = node.data
this.onFileClick(data)
node.parent.expanded = true
this.$set(this.nodeExpandedDict, node.parent.data.path, true)
node.parent.parent.expanded = true
this.$set(this.nodeExpandedDict, node.parent.parent.data.path, true)
},
clickPipeline () {
const filename = 'pipelines.py'
@@ -428,6 +430,7 @@ export default {
if (dataLv2.path.match(filename)) {
this.onFileClick(dataLv2)
nodeLv1.expanded = true
this.$set(this.nodeExpandedDict, dataLv1.path, true)
return
}
}