更新添加scrapy爬虫

This commit is contained in:
marvzhang
2020-02-17 14:20:42 +08:00
parent bb972e98ef
commit 93f1cf1f2e
3 changed files with 12 additions and 4 deletions

View File

@@ -202,6 +202,7 @@ export default {
this.$store.dispatch('spider/getSpiderScrapySpiders', this.$route.params.id)
this.$store.dispatch('spider/getSpiderScrapySettings', this.$route.params.id)
} else if (this.activeTabName === 'files') {
this.$store.dispatch('spider/getFileTree')
if (this.currentPath) {
this.$store.dispatch('file/getFileContent', { path: this.currentPath })
}